fix: ci #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validation of tutorial code | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'src/tutorial/**' | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: [ main ] | |
| paths: | |
| - 'src/tutorial/**' | |
| workflow_dispatch: | |
| concurrency: | |
| group: tutorial-main-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validation: | |
| name: Validate tutorial | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - uses: prefix-dev/setup-pixi@v0.8.14 | |
| with: | |
| pixi-version: v0.50.2 | |
| cache: true | |
| frozen: true | |
| - run: pixi run -e dev --frozen lint | |
| - run: pixi run -e dev --frozen test | |
| # - run: pixi run pack | |
| # - name: Store Packed Environment as Artifact | |
| # if: github.ref == 'refs/heads/main' | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: packed-slurm-cluster-environment-${{ github.sha }} | |
| # path: ./examples/environment.tar | |
| # retention-days: 3 |