From abda3c09bf7fd70e423741554f8b5bdba226544c Mon Sep 17 00:00:00 2001 From: bbm Date: Fri, 6 Mar 2026 16:05:15 -0500 Subject: [PATCH] use container for very old python versions (macos-13 not available anymore) --- .github/workflows/pytest.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 371f78d..c2f6f69 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -37,17 +37,16 @@ jobs: pytest --pyargs orsopy backport: - runs-on: macos-13 + runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7] + python-version: ["3.6-slim-buster", "3.7-slim-buster"] + + container: + image: python:${{ matrix.python-version }} steps: - uses: actions/checkout@v4 - - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - name: Install dependencies run: |