Remove old tests and add development workflow tests
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: "Development workflow - nix-shell"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
tests:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, macos-latest ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v16
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- name: Build
|
||||
run: nix-shell --run 'meson build && cd build && ninja'
|
||||
- name: Run tests
|
||||
run: nix-shell --run 'pytest ./tests'
|
||||
Reference in New Issue
Block a user