Skip to content

Commit

Permalink
Clean up/fix ccpp_prebuild CI tests (#533)
Browse files Browse the repository at this point in the history
Fixes the issues mentioned in #532 so that CI tests should now all run successfully:

 - Correctly run `test_metadata_parser.py` and `test_mkstatic.py` with `pytest`
 - Remove old testing files `python.yaml` and `pytest.ini`

In addition, I implemented multi-version python testing (all active Python versions: 3.8 through 3.12) rather than just a single version.
  • Loading branch information
mkavulich authored Feb 26, 2024
1 parent f0b9a18 commit 0b434e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.8","3.9","3.10","3.11","3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -35,8 +35,7 @@ jobs:
run: |
export PYTHONPATH=$(pwd)/scripts:$(pwd)/scripts/parse_tools
cd test_prebuild
python3 test_metadata_parser.py
python3 test_mkstatic.py
pytest
- name: ccpp-prebuild blocked data tests
run: |
cd test_prebuild/test_blocked_data
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/python.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions pytest.ini

This file was deleted.

0 comments on commit 0b434e1

Please sign in to comment.