-
Notifications
You must be signed in to change notification settings - Fork 191
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
Remove fixed Ubuntu 20.04 testing workflow #2397
Remove fixed Ubuntu 20.04 testing workflow #2397
Conversation
This PR is against the
|
Codecov Report
@@ Coverage Diff @@
## dev #2397 +/- ##
==========================================
+ Coverage 71.09% 71.14% +0.05%
==========================================
Files 87 87
Lines 9409 9409
==========================================
+ Hits 6689 6694 +5
+ Misses 2720 2715 -5 |
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.
Looks good to me, I didn't know you could do that!
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
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.
env: | |
GITHUB_TOKEN: ${{ github.token }} |
What's the purpose of adding this? Just wondering for our future selves! 😄
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 was hitting API limits, I hoped it might authenticate by default and it seemed to help! Looking at the code I think it's just coincidence but maybe it worked.
I bet if I remove it it will break.
@@ -35,6 +42,14 @@ jobs: | |||
python -m pip install --upgrade pip -r requirements-dev.txt | |||
pip install -e . | |||
|
|||
- name: Downgrade git to the Ubuntu official repository's version | |||
if: ${{ matrix.runner == 'ubuntu-20.04' && matrix.python-version == '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.
if: ${{ matrix.runner == 'ubuntu-20.04' && matrix.python-version == '3.8' }} | |
if: ${{ matrix.runner == 'ubuntu-20.04' && matrix.python-version == '3.8' }} | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |
Is this the scope it's needed in?
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.
Yep, it reflects the original test which used a couple of older versions of software together to mimic a scenario. If you look at the tests it seems to be working correctly.
Removes the pytest fixed version on Ubuntu:20.04 and Python 3.8 and adds it to matrix variables.
Original merge that added it: #2043
Using fewer workflows it better for enforcing code coverage etc. and managing testing throughput.
PR checklist
CHANGELOG.md
is updateddocs
is updated