feat: add README and GitHub Actions CI #1
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: pytest (ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: prefix-dev/setup-pixi@v0.8.2 | |
| with: | |
| pixi-version: v0.63.2 | |
| cache: true | |
| - name: Check imports | |
| run: pixi run check-imports | |
| - name: Run test suite | |
| run: pixi run test | |
| nextflow-stub: | |
| name: Nextflow stub (ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: prefix-dev/setup-pixi@v0.8.2 | |
| with: | |
| pixi-version: v0.63.2 | |
| cache: true | |
| - name: Validate Nextflow DAG | |
| run: pixi run stub |