diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index afd7ee4..683de2c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,17 +9,14 @@ on: jobs: pytest: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: "3.12" cache: pip - name: Install dependencies diff --git a/README.md b/README.md index 4c5a523..34e744d 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ pytest Any bug fix or new solver logic should keep existing tests passing and add new tests alongside it. Test coverage spans the isentropic, oblique shock, Taylor-Maccoll, and MoC point solvers, plus `point.py`, `process_LE_points.py`, `metric_derivative_solver.py`, and `velocity_altitude_map.py`. The streamline integrator and surface pressure solver still have no automated tests. -A GitHub Actions workflow (`.github/workflows/tests.yml`) runs the full suite on every push and pull request against `main`, on Python 3.11 and 3.12. +A GitHub Actions workflow (`.github/workflows/tests.yml`) runs the full suite on every push and pull request against `main`, on Python 3.12 (the version `requirements.txt` is pinned against). --- diff --git a/pytest.ini b/pytest.ini index 95f9027..f29840a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,6 +2,6 @@ [pytest] -pythonpath = src +pythonpath = . src testpaths = tests \ No newline at end of file