Fix template tests

This commit is contained in:
Ivan Petkov 2022-01-22 10:21:08 -08:00
parent cc7c158ca1
commit 09049b0ce3
No known key found for this signature in database
GPG Key ID: BB6F9EFC065832B6

View File

@ -26,8 +26,8 @@ jobs:
run: nix flake check --print-build-logs ${{ matrix.nixpkgs-override }}
- name: validate examples
run: |
for f in $(ls examples/); do
pushd "examples/${f}"
for f in $(find examples -maxdepth 1 -mindepth 1 -type d); do
pushd "${f}"
echo "validating ${f}"
nix flake check --print-build-logs --override-input crane ../.. ${{ matrix.nixpkgs-override }}
nix run .# --override-input crane ../.. ${{ matrix.nixpkgs-override }}