Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SEIAROTg committed Dec 4, 2024
1 parent 1083667 commit 1d1d328
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1d1d328

Please sign in to comment.