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