Skip to content
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

github actions on py26; make coveralls work #7

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

richm
Copy link
Contributor

@richm richm commented Dec 8, 2020

Add a custom coveralls script to work around the problems with
coveralls and github actions.

Add a coveralls26 testenv so that we can use coveralls with
py26. This uses coveralls 1.x and coverage 4.x.

When running the github action, only use the tox environment corresponding
to the current system version of python installed by the github
action. For example, if github action has installed the python v3.6,
we should only test py36-tox30, we should not test py27, py37, etc.
other python environments.

Get rid of references to Travis

Fix bug with iniconfig used with tox 3.20 and later.

@richm
Copy link
Contributor Author

richm commented Dec 9, 2020

It's not pretty - and we will have to keep the hack for python 2, as the coveralls maintainer does not want to support python 2.

@richm richm force-pushed the gha-test branch 2 times, most recently from 65a5fa8 to 91cff17 Compare December 9, 2020 20:02
@richm
Copy link
Contributor Author

richm commented Dec 9, 2020

ok - sorry about the noise - I think it is finally working correctly - please review

@richm richm force-pushed the gha-test branch 4 times, most recently from 9cccc57 to 0cab43f Compare December 16, 2020 03:41
Add a custom coveralls script to work around the problems with
coveralls and github actions.

Add a `coveralls26` testenv so that we can use coveralls with
py26.  This uses coveralls 1.x and coverage 4.x.

When running the github action, only use the tox environment corresponding
to the current system version of python installed by the github
action.  For example, if github action has installed the python v3.6,
we should only test py36-tox30, we should not test py27, py37, etc.
other python environments.

Get rid of references to Travis

Fix bug with iniconfig used with tox 3.20 and later.
@richm richm merged commit 4824e55 into linux-system-roles:main Dec 17, 2020
@richm richm deleted the gha-test branch December 17, 2020 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant