-
Notifications
You must be signed in to change notification settings - Fork 7
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
Windows support? #90
Comments
Should be supported in general, but might be buggy/broken. |
OK, let me have a try. Thank you for the advice. |
btw: having this (Windows) tested on CI via GitHub actions would be good I think - in case you feel like contributing this. |
Since I'm relying on covimerage in several projects, of course I'd like to contribute 😉 You mean adding GitHub Action workflow to run tests for covimerage on CI? |
Yes. Currently it is using CircleCI, which could be kept, but we could switch to GitHub actions for testing on Windows. As for the issue: also try |
OK, I think I can try to add a new GitHub Actions workflow to this repo. I'm not familiar with Windows so I also don't know the replacement of |
I tried
https://github.com/rhysd/clever-f.vim/runs/408672158?check_suite_focus=true#step:7:27
Line 174 in 83018f3
Line 147 in 83018f3
I think dumping the profile output would be useful. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thanks. I could retrieve profile output as follows: https://gist.github.com/rhysd/d550409c4eb22a66cac97cc1a1cb6748
|
Thanks already. More debug logging would be good. Can you try |
|
This only happens with "covimerage run", but you are using "covimerage write_coverage", aren't you? |
Sure. Let me try.
Yeah, actually covimerage works fine on macOS and Linux on GitHub Actions workflow
I apologize that it was wrong line. Please forget. |
After adding https://github.com/rhysd/clever-f.vim/runs/408731885?check_suite_focus=true#step:8:34
It looked that |
I am still not sure/convinced that it is covimerage exiting non-zero here. |
I thought the point too. So I also added echo commands as follows: - name: Report coverage
if: matrix.os == 'windows-latest'
run: |
pip install covimerage
covimerage --version
cd ./test
echo 'start covimerage'
covimerage --loglevel debug --verbose write_coverage profile.txt
echo 'done covimerage'
type .coverage_covimerage
echo 'coverage report'
coverage report
echo 'coverage xml'
coverage xml
echo 'done all' And I confirmed https://github.com/rhysd/clever-f.vim/runs/408735732?check_suite_focus=true#step:8:33 |
Thanks for confirmation. Since Maybe try |
I think I'm not so familiar with python. Is trace module available to trace which line was executed? We might be able to find out which line is failing. |
Good idea. Try But otherwise I would hope for this issue showing up with its tests, so it might be good to setup GitHub Actions fist anyway / in parallel. |
I agree. Let me try it on tomorrow night or day after tomorrow since I need to make a deck for tomorrow's meetup.. |
I'm sorry for asking a question on issues page, but I could not find a proper place to do.
Does covimerage support Windows? Today I added Windows environment to CI for clever-f.vim. And I got a crash on
covimerage write_coverage
. It did output nothing to stderr and just exited with non-zero status.https://github.com/rhysd/clever-f.vim/runs/408651778?check_suite_focus=true#step:7:28
My steps to run covimerage are as follows (assume
:profile
output is put in./test
directory):I'm using
actions/setup-python@v1
with no argument so Python version would be the latest stable.The text was updated successfully, but these errors were encountered: