Skip to content

Commit

Permalink
move to using setup-action
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodearnest committed Sep 30, 2024
1 parent 09c1fdb commit 25278b2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:

test-job:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-13]
# Python 3.8 is what we currently support for running cohortextractor
Expand All @@ -42,14 +41,11 @@ jobs:
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
- uses: "opensafely-core/setup-action@v1"
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: requirements.*.txt

- uses: extractions/setup-just@69d82fb0233557aec017ef13706851d0694e0f1d
install-just: true

- name: Run actual tests on ${{ matrix.os }}
if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04' }}
Expand Down

0 comments on commit 25278b2

Please sign in to comment.