diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37d65f33d0..d59043306c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,14 @@ jobs: run: | python -m pip install tox - name: Run tests - run: tox + run: tox -- --cov-report xml + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + flags: >- # Mark which lines are covered by which envs + ${{ runner.os }}, + ${{ matrix.python }} + functionalities: gcov # disable C coverage autodiscovery release: needs: test