Skip to content

Commit

Permalink
Add separate jobs to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamStrickland committed Sep 13, 2024
1 parent 47cafb3 commit 7e25f9c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test AIMA
name: Format and test AIMA

on:
push:
Expand All @@ -19,10 +19,16 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest
lint/format:
runs-on: self-hosted
steps:
- name: Lint/format with ruff
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
test:
runs-on: self-hosted
steps:
- name: Test with pytest
run: |
pytest

0 comments on commit 7e25f9c

Please sign in to comment.