Skip to content

Commit

Permalink
Fix the CI (#24)
Browse files Browse the repository at this point in the history
* switch to mambaforge for CI

* bump versions

* bump qiime2 versions as well

* bump qiime2 versions as well
  • Loading branch information
cdiener authored Sep 5, 2023
1 parent 0d45db4 commit e5ca979
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/qiime_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ jobs:
runs-on: "${{matrix.os.image}}"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
- shell: bash -l {0}
run: |
conda info
Expand All @@ -51,6 +50,7 @@ jobs:
- name: Lint with flake8
shell: bash -l {0}
run: |
conda activate qiime2-dev
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --ignore=F203 --show-source --statistics
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
- image: "macos-latest"
short: "osx"
qiime:
- version: "2023.2"
- version: "2023.7"
python: 38
- version: "2022.11"
- version: "2023.5"
python: 38
runs-on: "${{matrix.os.image}}"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down

0 comments on commit e5ca979

Please sign in to comment.