Skip to content

Commit

Permalink
python: improve gh tests
Browse files Browse the repository at this point in the history
  • Loading branch information
reyammer committed Nov 4, 2024
1 parent c4649f8 commit 94fefb9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/python-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
unit-testing:
strategy:
matrix:
python-version: [ "3.8.x", "3.9.x", "3.10.x", "3.11.x", "3.12.x" ]
os: [ "ubuntu-latest", "macos-latest" ]
# python-version: [ "3.8.x", "3.9.x", "3.10.x", "3.11.x", "3.12.x" ]
python-version: [ "3.9" ]
# os: [ "ubuntu-latest", "macos-latest" ]
os: [ "windows-latest" ]
# TODO: add windows, ubuntu:20.04
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -39,7 +41,11 @@ jobs:

- name: Install all projects dependencies (with the requested python version)
working-directory: python
run: uv sync --python $(which python3) --all-extras --dev
run: uv sync --python ${{ matrix.python-version }} --all-extras --dev

- name: Print python version
working-directory: python
run: uv run --python ${{ matrix.python-version }} python --version

- name: Run ruff check
working-directory: python
Expand Down

0 comments on commit 94fefb9

Please sign in to comment.