More thorough testing

This commit is contained in:
Ana Hobden 2023-01-13 12:18:14 -08:00
parent f0508f0de8
commit 2ec668c456

View file

@ -43,6 +43,14 @@ jobs:
log-directives: nix_installer=trace log-directives: nix_installer=trace
backtrace: full backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }} 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 - name: Reinstall Nix
uses: ./ uses: ./
with: with:
@ -51,6 +59,14 @@ jobs:
backtrace: full backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
reinstall: true 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: run-x86_64-darwin:
name: Run x86_64 Darwin name: Run x86_64 Darwin
@ -93,6 +109,14 @@ jobs:
log-directives: nix_installer=trace log-directives: nix_installer=trace
backtrace: full backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }} 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 - name: Reinstall Nix
uses: ./ uses: ./
with: with:
@ -101,4 +125,11 @@ jobs:
backtrace: full backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
reinstall: true 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