nix-direnv/.github/workflows/test.yml
2023-04-14 12:54:36 -04:00

24 lines
608 B
YAML

name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest ]
# FIXME macos garbage currently collect also nix-shell that runs the test
#os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
extra_nix_config: |
keep-outputs = true
keep-derivations = true
experimental-features = nix-command flakes
- run:
"nix run .#test-runner"