diff --git a/.github/workflows/commit-ci.yml b/.github/workflows/commit-ci.yml index 6dedc880f..c68986693 100644 --- a/.github/workflows/commit-ci.yml +++ b/.github/workflows/commit-ci.yml @@ -40,11 +40,11 @@ jobs: - name: Install jupyter kernel run: python -m ipykernel install --user --name calliope - - name: run tests + - name: run tests without coverage if: github.ref != 'refs/heads/main' run: pytest - - name: run tests + - name: run tests with coverage if: github.ref == 'refs/heads/main' run: pytest --cov