Skip to content

Commit

Permalink
test ci change
Browse files Browse the repository at this point in the history
  • Loading branch information
SEIAROTg committed Dec 4, 2024
1 parent 1083667 commit 7df3b9a
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# TODO: re-enable aarch64-linux once github has native runner
# https://github.com/orgs/community/discussions/19197
Expand All @@ -31,12 +32,28 @@ 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:
name: test
path: result.xml
reporter: jest-junit

0 comments on commit 7df3b9a

Please sign in to comment.