From a744618473395ec46b8d561b63a91f7872c03b32 Mon Sep 17 00:00:00 2001 From: Benjamin Rombaut Date: Tue, 19 Mar 2024 12:04:17 +0100 Subject: [PATCH] update codecov test --- .github/workflows/test.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c5b152b..1696435 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -52,16 +52,18 @@ jobs: python -m pip install --upgrade pip wheel - name: Install dependencies run: | - pip install ${{ matrix.pip-flags }} ".[dev,test]" + python -m pip install ${{ matrix.pip-flags }} ".[dev,test]" - name: Test env: MPLBACKEND: agg PLATFORM: ${{ matrix.os }} DISPLAY: :42 run: | - coverage run -m pytest -v --color=yes + python -m coverage run -m pytest -v --color=yes - name: Report coverage run: | - coverage report + python -m coverage report - name: Upload coverage uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }}