nix-eval-jobs/.github/workflows/test-develop-classic.yml

22 lines
505 B
YAML
Raw Normal View History

name: "Development workflow - nix-shell"
2021-03-15 05:09:41 +00:00
on:
pull_request:
push:
2021-03-15 05:09:41 +00:00
branches:
- main
2021-03-15 05:09:41 +00:00
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'