Skip to content

added preliminary day2 solution, branched off day1 #1

added preliminary day2 solution, branched off day1

added preliminary day2 solution, branched off day1 #1

Workflow file for this run

name: Test Matrix

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

(Line: 22, Col: 12): Job 'unit-tests' depends on unknown job 'code-checks'.
on: [push]
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v6
- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.3
with:
pixi-version: v0.62.2 # good to pin this since pixi is not 1.0 yet!
- name: look for syntax errors with ruff
run: pixi run ruff check
unit-tests:
runs-on: ${{ matrix.os }}
needs: code-checks # don't bother running tests if code-checks fails.
strategy:
fail-fast: false # don't stop all jobs if one fails
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
environment:
- prod
- prod314
- prod312
steps:
- name: Checkout the code
uses: actions/checkout@v6
- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.3
with:
pixi-version: v0.62.2
environments: ${{ matrix.environment }}
- run: pixi run -e ${{ matrix.environment }} pytest