Remove old tests and add development workflow tests

This commit is contained in:
adisbladis
2022-01-08 22:02:39 +13:00
parent 1c6887b5bf
commit 5b9621cd6c
2 changed files with 10 additions and 10 deletions
+22
View File
@@ -0,0 +1,22 @@
name: "Development workflow - flakes"
on:
pull_request:
push:
branches:
- main
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v16
- name: Build
run: nix develop -c bash -c 'meson build && cd build && ninja'
- name: Run tests
run: nix develop -c pytest ./tests