Skip to content

Commit

Permalink
Improve testing CDCI
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed Nov 17, 2024
1 parent 915bf8f commit 051bc0c
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
linters:
runs-on: windows-latest
runs-on: ubuntu-latest
name: Lint ${{ matrix.python-version }}
strategy:
fail-fast: false
Expand All @@ -28,23 +28,29 @@ jobs:
- name: Install dependencies
run: uv sync --extra dev
- name: Run ruff format
run: uv run ruff format . --config .\pyproject.toml
run: uv run ruff format .
- name: Run ruff check
run: uv run ruff check . --config .\pyproject.toml
run: uv run ruff check .
- name: Run codespell
run : uv run codespell .


tests:
runs-on: windows-latest
runs-on: ubuntu-latest
name: Testing ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: ['3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4

- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Set up Python
run: uv python install

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --extra dev
Expand Down

0 comments on commit 051bc0c

Please sign in to comment.