Skip to content

Commit c1da302

Browse files
ci: run the whole tests directory
CI ran only tests/external_tests/, so tests/test_base_model.py and tests/test_gamepk_validation_regressions.py have never executed on a push, and the new alias coverage tests would not have either. Co-authored-by: Matthew Spah <spahmatthew@gmail.com>
1 parent b4f71c2 commit c1da302

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-and-test-mlbstatsapi-prd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
virtualenvs-in-project: true
2626
- name: Install dependencies
2727
run: poetry install --no-interaction
28-
- name: Test external tests with pytest
29-
run: poetry run pytest tests/external_tests/
28+
- name: Test with pytest
29+
run: poetry run pytest tests/
3030
- name: Build package
3131
run: poetry build
3232
- name: Publish a Python distribution to PyPI

.github/workflows/build-and-test-mlbstatsapi-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
virtualenvs-in-project: true
2626
- name: Install dependencies
2727
run: poetry install --no-interaction
28-
- name: Test external tests with pytest
29-
run: poetry run pytest tests/external_tests/
28+
- name: Test with pytest
29+
run: poetry run pytest tests/
3030
- name: Build package
3131
run: poetry build
3232
- name: Publish package to TestPyPI

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
virtualenvs-in-project: true
2727
- name: Install dependencies
2828
run: poetry install --no-interaction
29-
- name: Test external tests with pytest
30-
run: poetry run pytest tests/external_tests/
29+
- name: Test with pytest
30+
run: poetry run pytest tests/
3131
- name: Build package
3232
run: poetry build

0 commit comments

Comments
 (0)