-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ci: switch to GitHub Actions #2127
Conversation
2d5d02b
to
2f0cfca
Compare
Not 100% sure why the windows tests are failing 🤔 i copied pretty directly from the travis file. |
2702bb3
to
c27850c
Compare
Just use the same code that you use for the real operating systems. That should work. |
c27850c
to
66cef25
Compare
On Windows you should be able to use |
66cef25
to
55580aa
Compare
55580aa
to
4c3d33d
Compare
25e5a4c
to
8ea1131
Compare
.github/workflows/test.yml
Outdated
uses: microsoft/[email protected] | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip flake8 pytest==4.6.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why hardcore pytest to a low version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i pulled it from the python examples used in stock python GitHub Actions - I'll remove it.
702af88
to
8e0a956
Compare
614b28f
to
8aaf8b4
Compare
8aaf8b4
to
3cedd7e
Compare
fail-fast: false | ||
matrix: | ||
node: [10.x, 12.x, 14.x] | ||
python: [2.7, 3.6, 3.7, 3.8] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe remove 2.7 since it's EOL
Co-authored-by: Christian Clauss <[email protected]> Co-authored-by: Matias Lopez <[email protected]> PR-URL: #2210 Closes: #2127 Closes: #2209
Description of change
This PR switches test builds from Travis to GitHub Actions.
cc @rvagg @cclauss
Checklist
npm install && npm test
passes