-
Notifications
You must be signed in to change notification settings - Fork 192
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -14,12 +14,19 @@ concurrency: | |||||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||||||||||
cancel-in-progress: true | ||||||||||
|
||||||||||
env: | ||||||||||
GITHUB_TOKEN: ${{ github.token }} | ||||||||||
|
||||||||||
jobs: | ||||||||||
pytest: | ||||||||||
runs-on: ubuntu-latest | ||||||||||
runs-on: ${{ matrix.runner }} | ||||||||||
strategy: | ||||||||||
matrix: | ||||||||||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||||||||||
runner: ["ubuntu-latest"] | ||||||||||
include: | ||||||||||
- runner: "ubuntu-20.04" | ||||||||||
python-version: "3.8" | ||||||||||
|
||||||||||
steps: | ||||||||||
- uses: actions/checkout@v3 | ||||||||||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Is this the scope it's needed in? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||||||||||
run: | | ||||||||||
sudo apt update | ||||||||||
sudo apt remove git git-man | ||||||||||
sudo add-apt-repository --remove ppa:git-core/ppa | ||||||||||
sudo apt install git | ||||||||||
|
||||||||||
- name: Install Nextflow | ||||||||||
uses: nf-core/setup-nextflow@v1 | ||||||||||
with: | ||||||||||
|
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.
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.