Skip to content

Commit

Permalink
Run python 3.7 only on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Nov 4, 2024
1 parent 87109f9 commit a5953e3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.13"]
python-version: ["3.8", "3.13"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
include:
# The Macos and Windows jobs fail with 3.7 so just test on Linux
- runs-on: ubuntu-latest
python-version: "3.7"

steps:
- uses: actions/checkout@v4
Expand All @@ -28,14 +32,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install uv (Unix)
if: runner.os != 'Windows'
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Install uv (Windows)
if: runner.os == 'Windows'
run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

- name: Set up uv
uses: astral-sh/setup-uv@v3
with:
Expand Down

0 comments on commit a5953e3

Please sign in to comment.