Skip to content

Commit ffdf5af

Browse files
committed
Update test action requirements
1 parent 3154c62 commit ffdf5af

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/python-test-dev.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ jobs:
2323
run: |
2424
cd howlongtobeatpy
2525
python -m pip install --upgrade pip
26-
pip install -U pytest
26+
pip install -U pytest pytest-cov
2727
pip install .
2828
- name: Test
29-
run: |
30-
pytest --cov howlongtobeatpy --cov-report xml
29+
run: pytest --cov=howlongtobeatpy --cov-report=xml
3130
- name: Upload coverage to Codecov
3231
uses: codecov/codecov-action@v3
3332
with:

.github/workflows/python-test-pr.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
run: |
2424
cd howlongtobeatpy
2525
python -m pip install --upgrade pip
26-
pip install -U pytest
26+
pip install -U pytest pytest-cov
2727
pip install .
2828
- name: Test
29-
run: |
30-
pytest --cov=howlongtobeatpy --cov-report=xml
29+
run: pytest --cov=howlongtobeatpy --cov-report=xml

.github/workflows/python-test-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip
33-
pip install -U pytest
33+
pip install -U pytest pytest-cov
3434
pip install howlongtobeatpy
3535
- name: Test
36-
run: |
37-
pytest --cov=howlongtobeatpy --cov-report=xml
36+
run: pytest --cov=howlongtobeatpy --cov-report=xml
3837
- name: Upload coverage to Codecov
3938
uses: codecov/codecov-action@v3
4039
with:

0 commit comments

Comments
 (0)