From 015fa98866b3094fd452cb2683f16c70bed760db Mon Sep 17 00:00:00 2001 From: Ashlynne Mitchell Date: Thu, 9 Apr 2026 08:42:05 +1000 Subject: [PATCH] chore: add GitHub CI --- .github/workflows/push.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/push.yaml diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 0000000..998a067 --- /dev/null +++ b/.github/workflows/push.yaml @@ -0,0 +1,27 @@ +name: Push +on: + push: + branches: + - main + +jobs: + test: + name: Lint and test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + + - name: Install Nix + uses: nixbuild/nix-quick-install-action@v34 + + - run: nix flake check + - run: | + cd ./test/fixtures/mst-test-suite + nix develop --command uv python install 3.15 --default + nix develop --command uv sync + nix develop --command uv run ./scripts/generate_exhaustive_cars.py + + - run: nix develop --command mix deps.get + - run: nix develop --command mix credo --mute-exit-status -a + - run: nix develop --command mix test -- 2.51.2