-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Create job that sets up and caches Pixi. Then run check / typecheck / test (dependent jobs)
torchrunx/.github/workflows/main.yml
Lines 26 to 67 in 0bd7964
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.25.0 | |
cache: true | |
frozen: true | |
environments: dev | |
activate-environment: dev | |
- run: ruff check | |
if: success() || failure() | |
- run: ruff format --check | |
if: success() || failure() | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.25.0 | |
cache: true | |
frozen: true | |
environments: default | |
activate-environment: default | |
- run: pyright | |
if: success() || failure() | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.25.0 | |
cache: true | |
frozen: true | |
environments: default | |
activate-environment: default | |
- run: pytest tests |
Metadata
Metadata
Assignees
Labels
No labels