From b29964af4dda2dd8b2d5d9cb6fe0b6f3072468b5 Mon Sep 17 00:00:00 2001 From: bloodearnest Date: Tue, 20 Aug 2024 13:04:25 +0100 Subject: [PATCH] test in ubuntu 20.04 --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 328a387b..a63a16da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: test-job: strategy: matrix: - os: [ubuntu-20.04, windows-2019, macos-12] + os: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-12] # Python 3.8 is what we currently support for running cohortextractor # locally, and 3.9 is what we required for databuilder so we need to make # sure we can run with those @@ -39,8 +39,12 @@ jobs: with: persist-credentials: false + - name: Ensure pip cache dir exists + run: mkdir -p ~/.cache/pip + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 + if: ${{ matrix.os == 'macos-12' && matrix.python != '3.8' }} with: python-version: ${{ matrix.python }} cache: "pip"