nix-eval-jobs/.github/workflows/test-develop-flakes.yml
adisbladis 8bb83e4c69 Disable nix-shell based checks
We are essentially testing the same thing in the Flake check, the
difference is in the nix-shell vs `nix develop` invocation.

I will admit (even though this is my making) that it's a bit silly to
essentially test the same thing twice.
2022-04-22 19:18:57 +12:00

23 lines
527 B
YAML

name: "Development workflow"
on:
pull_request:
push:
branches:
- main
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v17
- name: Build
run: nix develop -c bash -c 'meson build && cd build && ninja'
- name: Run tests
run: nix develop -c pytest ./tests