diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de14701..16584cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,12 +31,27 @@ jobs: with: nix_path: nixpkgs=channel:${{ matrix.version.nixpkgs }} - - run: > - nix flake check - --keep-going - --all-systems + - name: create flake.lock + run: > + nix flake lock --override-input quadlet-nix "path:$(pwd)" --override-input nixpkgs 'github:NixOS/nixpkgs/${{ matrix.version.nixpkgs }}' --override-input home-manager 'github:nix-community/home-manager/${{ matrix.version.home-manager }}' --override-input test-config "path:$(pwd)/tests/${{ matrix.system }}" ./tests + + - name: run tests + run: > + nix run github:Mic92/nix-fast-build + -- + --no-nom + --result-format junit + --result-file result.xml + --flake ./tests#checks + + - name: report + uses: dorny/test-reporter@v1 + if: success() || failure() # run this step even if previous step failed + with: + path: result.xml + reporter: jest-junit