diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 095774d..58baa42 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -34,17 +34,20 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install setuptools pytest + python -m pip install setuptools pytest pytest-cov python -m pip install . # this runs the platform-specific tests declared in tox.ini - name: Test with pytest - run: python -m pytest + run: python -m pytest --cov --cov-branch --cov-report=xml env: PLATFORM: ${{ matrix.platform }} - - name: Coverage - uses: codecov/codecov-action@v2 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: BaroudLab/zarr-tools deploy: # this will run when you have tagged a commit, starting with "v*"