Speed up CI, add more checks (#115)

- Split pytest and end-to-end tests into separate jobs
- Add poetry check to ensure pyproject.toml and poetry.lock are in sync
- Add ruff format --diff to ensure style formatting is applied (fails if ruff would reformat anything)
This commit is contained in:
Simon Alibert
2024-04-29 23:05:55 +02:00
committed by GitHub
parent 1ec5f77f7c
commit 2765877f28
9 changed files with 88 additions and 21 deletions

View File

@@ -14,7 +14,7 @@ env:
jobs:
latest-cpu:
name: "Build CPU"
name: CPU
runs-on: ubuntu-latest
steps:
- name: Cleanup disk
@@ -109,7 +109,7 @@ jobs:
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
latest-cuda:
name: "Build GPU"
name: GPU
runs-on: ubuntu-latest
steps:
- name: Cleanup disk