diff options
author | Sinan Mohd <sinan@sinanmohd.com> | 2024-08-17 18:41:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-17 18:41:32 +0530 |
commit | 37d813bf6be0570c6feab070002451bd6042b0d7 (patch) | |
tree | f27f3cb024e4d114ef0acfe28cdae9f85d0265db /.github | |
parent | 316b86f2c4a757f378787c1a2244bd2474f2762e (diff) | |
parent | 59b1063ec5174bc0848f4bea37c8b603e23aa967 (diff) |
Merge pull request #14 from sinanmohd/feat/nixosTests
nixosTests: WIP integration tests
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4285978..936d055 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,3 +22,17 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@v7 - name: Build some-pkgs run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#packages" + nix-flake-check: + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest ] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v13 + - uses: DeterminateSystems/magic-nix-cache-action@v7 + - name: Build the checks + run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" |