From 2ec668c45628a4029e59357600d6b73107b0843b Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Fri, 13 Jan 2023 12:18:14 -0800 Subject: [PATCH] More thorough testing --- .github/workflows/ci.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71d57db..763bf1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,14 @@ jobs: log-directives: nix_installer=trace backtrace: full github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Test `nix` with `$GITHUB_PATH` + if: success() || failure() + run: | + nix run nixpkgs#fortune + nix profile install nixpkgs#fortune + fortune + nix store gc + nix run nixpkgs#fortune - name: Reinstall Nix uses: ./ with: @@ -51,6 +59,14 @@ jobs: backtrace: full github-token: ${{ secrets.GITHUB_TOKEN }} reinstall: true + - name: Test `nix` with `$GITHUB_PATH` + if: success() || failure() + run: | + nix run nixpkgs#fortune + nix profile install nixpkgs#fortune + fortune + nix store gc + nix run nixpkgs#fortune run-x86_64-darwin: name: Run x86_64 Darwin @@ -93,6 +109,14 @@ jobs: log-directives: nix_installer=trace backtrace: full github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Test `nix` with `$GITHUB_PATH` + if: success() || failure() + run: | + nix run nixpkgs#fortune + nix profile install nixpkgs#fortune + fortune + nix store gc + nix run nixpkgs#fortune - name: Reinstall Nix uses: ./ with: @@ -101,4 +125,11 @@ jobs: backtrace: full github-token: ${{ secrets.GITHUB_TOKEN }} reinstall: true - \ No newline at end of file + - name: Test `nix` with `$GITHUB_PATH` + if: success() || failure() + run: | + nix run nixpkgs#fortune + nix profile install nixpkgs#fortune + fortune + nix store gc + nix run nixpkgs#fortune \ No newline at end of file