Skip to content

Commit d1bebd3

Browse files
committed
ci: merge coverage with regular CI tests
1 parent 437e121 commit d1bebd3

File tree

2 files changed

+8
-42
lines changed

2 files changed

+8
-42
lines changed

.github/workflows/test.yml renamed to .github/workflows/ci-tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install ".[test]"
2626
27-
- name: Test
28-
run: |
29-
python -m pytest
27+
- name: Run pytest with coverage
28+
run: python -m pytest --cov=lazy_loader --durations=10
29+
30+
- name: Upload coverage to Codecov
31+
uses: codecov/codecov-action@v4
32+
with:
33+
token: ${{ secrets.CODECOV_TOKEN }}
34+
flags: unittests,${{ runner.os }},py${{ matrix.python-version }}

.github/workflows/coverage.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)