Skip to content

Commit

Permalink
Add test job to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamStrickland committed Sep 13, 2024
1 parent e43d940 commit d1a7982
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ on:
- "main"

jobs:
build:
ruff:
runs-on: macos-latest
steps:
- name: Lint/format with ruff
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
test:
runs-on: macos-latest
steps:
- name: Check out repository code
Expand All @@ -19,16 +26,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest
ruff:
runs-on: macos-latest
steps:
- name: Lint/format with ruff
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
pytest:
runs-on: macos-latest
steps:
- name: Test with pytest
run: |
pytest

0 comments on commit d1a7982

Please sign in to comment.