Skip to content

fix: ci

fix: ci #2

Workflow file for this run

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