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 次删除

查看文件

@ -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