switch to garnix

This commit is contained in:
Jörg Thalheim
2023-01-02 11:35:29 +01:00
parent 9d1abc0bc8
commit 0d5f97d617
3 changed files with 12 additions and 47 deletions
+27
View File
@@ -0,0 +1,27 @@
name: "Tests"
on:
pull_request:
push:
branches:
- main
- release-*
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@v18
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
accept-flake-config = true
- name: Build
run: nix develop -c bash -c 'meson build && cd build && ninja'
- name: Run tests
run: nix develop -c pytest ./tests