Skip to content

Commit bb793b3

Browse files
committed
ci: skip code coverage for integration tests
1 parent cd61077 commit bb793b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,14 @@ jobs:
8888
- name: Run tests
8989
run: |
9090
if [ "${{ matrix.test-type }}" == "integration" ]; then
91-
pytest -s --nbval --cov=pysrc ./pytest/integration/
91+
pytest -s ./pytest/integration/
9292
else
9393
pytest -s --nbval --cov=pysrc ./pytest/ -k "not integration"
9494
fi
9595
env:
9696
PYTHON_JULIACALL_THREADS: '2'
9797
- name: Upload coverage to Codecov
9898
uses: codecov/codecov-action@v2
99+
if: ${{ matrix.test-type == 'unit' }}
99100
env:
100101
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)