Skip to content

Commit

Permalink
wat2
Browse files Browse the repository at this point in the history
  • Loading branch information
evansd committed Oct 15, 2024
1 parent 53e7929 commit 61f815d
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,38 @@ name: Tests
on: [push]

jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
name: Run test suite
# tests:
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-20.04, windows-2019]
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# runs-on: ${{ matrix.os }}
# name: Run test suite
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install `uv`
# uses: astral-sh/setup-uv@f3bcaebff5eace81a1c062af9f9011aae482ca9d # v3.1.7
# with:
# version: "0.4.20"
# - name: Install dependencies
# run: |
# python -m pip install -r requirements.dev.txt
# - name: Run tests
# run: python -m pytest
basic_test:
runs-on: windows-2019
name: Run basic uv test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install `uv`
uses: astral-sh/setup-uv@f3bcaebff5eace81a1c062af9f9011aae482ca9d # v3.1.7
with:
version: "0.4.20"
- name: Install dependencies
- name: Install a thing
run: |
python -m pip install -r requirements.dev.txt
- name: Run tests
run: python -m pytest
uv tool install --with setuptools opensafely

0 comments on commit 61f815d

Please sign in to comment.