From 34dd7dbbac7d4df0e056d71afb62c10f2725d928 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Fri, 3 May 2024 19:04:01 -0400 Subject: [PATCH] update CI test script --- .github/workflows/build_and_test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 4ae149c..9d44f87 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11"] steps: - name: Checkout @@ -17,7 +17,7 @@ jobs: persist-credentials: false - name: Setup Miniconda using Python ${{ matrix.python-version }} - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: miniforge-variant: Mambaforge auto-update-conda: true @@ -38,10 +38,12 @@ jobs: run: | pytest -m 'not local' --cov=./ --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + if: matrix.os == 'ubuntu-latest' + uses: codecov/codecov-action@v4 with: files: ./coverage.xml flags: unittests name: codecov-umbrella + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true verbose: true