diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48dada6..9c4f363 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,23 +12,26 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8' ] + python-version: [ '3.8', '3.11', '3.12' ] + fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Install dependencies run: | python -m pip install --upgrade pip pip install "numpy<1.19.0" pip install -r test_requirements.txt - pip install pytest-cov +# pip install pytest-cov - name: Test with pytest run: | - pytest --cov=./ --cov-report=xml - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - file: ./coverage.xml + pytest +# pytest --cov=./ --cov-report=xml +# - name: Upload coverage to Codecov +# uses: codecov/codecov-action@v1 +# with: +# file: ./coverage.xml