diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..d90dbd4 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,13 @@ +name: run-tests +run-name: Run tests +on: [pull_request, push] +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v25 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - run: nix develop --command bash -c "mkdir build && cd build && cmake .. && make -j 16" + - run: pytest