New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix improper class.filename
and package.name
values on XML coverage report
#863
Conversation
flake8 warnings. @lormico |
Whoooops, fixed it |
Pull Request Test Coverage Report for Build 2812061099
💛 - Coveralls |
It looks like the Windows failures are not caused by my edit on Maybe there's something wrong with GitHub's Windows testing platform? Should I make PyBuilder skip my test if |
No, it is not. It's the issue with disks/locations.
|
@lormico it's the change related to path manipulation. Current tree works fine: https://github.com/pybuilder/pybuilder/runs/7593136238?check_suite_focus=true |
Ok, I wanted to investigate deeper on this issue, so I created a branch on
I still keep getting the same error, even if the This particular error:
seems to be due to how Python itself handles relative paths on Windows, when two different volumes are involved (here a very old ticket from 2009 which explains this better than I could do). I'm still not completely sure about how this is connected to PyBuilder, but I'm more inclined to think that's because of how GitHub Actions work or how they are configured for a Windows VM. Alas, I have nearly zero experience with GitHub Actions, so I might be off track. Do you have any pointers from here @arcivanov? |
@lormico I took another dig at it and it looks like a bug in coverage |
@lormico Please rebase on the the latest. The test also needs to be modified to not fail for unrelated reasons:
Very close now 😄 |
I ran the Actions on my fork (I had to disable the The error reveals it is not using the latest version: message(f"Combined data file {os.path.relpath(f)}") # should be message(f"Combined data file {file_name}") even though the dependency specification in I'm doing some tests to find out what is the cause. |
Nevermind, it now doesn't seem to fail anymore. Here is the Actions run on my fork. @arcivanov can you please approve launching the workflow? |
@lormico Thank you, merged. |
Solves #862