diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index fba6501..e1e1c8b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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] @@ -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 @@ -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 }} @@ -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