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)
这个提交包含在:
Simon Alibert
2024-04-29 23:05:55 +02:00
提交者 GitHub
父节点 1ec5f77f7c
当前提交 2765877f28
共有 9 个文件被更改,包括 88 次插入 和 21 次删除

查看文件

@ -13,7 +13,7 @@ env:
jobs:
run_all_tests_cpu:
name: "Test CPU"
name: CPU
strategy:
fail-fast: false
runs-on: ubuntu-latest
@ -40,7 +40,7 @@ jobs:
run_all_tests_single_gpu:
name: "Test GPU"
name: GPU
strategy:
fail-fast: false
runs-on: [single-gpu, nvidia-gpu, t4, ci]