Skip to content

Commit

Permalink
chore: restructure CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugovdberg committed Jun 21, 2024
1 parent d06bffd commit 92e62bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- cron: "27 19 * * 3"

jobs:
build:
run_tests:
runs-on: windows-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -41,15 +41,11 @@ jobs:
python -m pip install --exists-action=w --no-cache-dir -r requirements_dev.txt
python -m pip install .
- name: Lint with ruff
run: |
ruff check .
- name: Test with pytest
run: |
pytest
check_format:
lint_and_check_format:
runs-on: windows-latest

steps:
Expand All @@ -65,6 +61,10 @@ jobs:
python -m pip install --upgrade pip
python -m pip install ruff
- name: Lint with ruff
run: |
ruff check .
- name: Check formatting with ruff
run: |
ruff format --check
Expand Down

0 comments on commit 92e62bb

Please sign in to comment.