Skip to content

Commit

Permalink
update build and test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Dec 1, 2023
1 parent 0f4c4e4 commit 3b84f3a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and test [Python 3.7, 3.8, 3.9]
name: Build and test [Python 3.8, 3.9, 3.10]

on: [push, pull_request]

Expand All @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9, "3.10"]

steps:
- name: Checkout
Expand All @@ -16,8 +16,10 @@ jobs:
persist-credentials: false

- name: Setup Miniconda using Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v4
with:
miniforge-variant: Mambaforge
auto-update-conda: true
activate-environment: ogmys-dev
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
Expand All @@ -35,7 +37,7 @@ jobs:
run: |
pytest -m 'not local and not regression' --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: unittests
Expand Down

0 comments on commit 3b84f3a

Please sign in to comment.