swap fortune for hello (#525)

This seems to have fixed the flaky macOS test issue that I
imagine led to disabling that set of tests here.
This commit is contained in:
Travis A. Everett 2023-06-23 10:47:40 -05:00 committed by GitHub
parent 47f2630702
commit db316614f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,11 +107,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |
nix run nixpkgs#fortune nix run nixpkgs#hello
nix profile install nixpkgs#fortune nix profile install nixpkgs#hello
fortune hello
nix store gc nix store gc
nix run nixpkgs#fortune nix run nixpkgs#hello
- name: Test bash - name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()
@ -217,11 +217,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |
sudo -i nix run nixpkgs#fortune sudo -i nix run nixpkgs#hello
sudo -i nix profile install nixpkgs#fortune sudo -i nix profile install nixpkgs#hello
fortune hello
sudo -i nix store gc sudo -i nix store gc
sudo -i nix run nixpkgs#fortune sudo -i nix run nixpkgs#hello
- name: Test bash - name: Test bash
run: sudo -i nix-instantiate -E 'builtins.currentTime' --eval run: sudo -i nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()
@ -335,11 +335,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |
nix run nixpkgs#fortune nix run nixpkgs#hello
nix profile install nixpkgs#fortune nix profile install nixpkgs#hello
fortune hello
nix store gc nix store gc
nix run nixpkgs#fortune nix run nixpkgs#hello
- name: Test bash - name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()
@ -429,15 +429,14 @@ jobs:
extra-conf: trusted-users = root runner extra-conf: trusted-users = root runner
- name: echo $PATH - name: echo $PATH
run: echo $PATH run: echo $PATH
# The Mac CI constantly fails here despite us setting the token.... - name: Test `nix` with `$GITHUB_PATH`
# - name: Test `nix` with `$GITHUB_PATH` if: success() || failure()
# if: success() || failure() run: |
# run: | nix run nixpkgs#hello
# nix run nixpkgs#fortune nix profile install nixpkgs#hello
# nix profile install nixpkgs#fortune hello
# fortune nix store gc
# nix store gc nix run nixpkgs#hello
# nix run nixpkgs#fortune
- name: Test bash - name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()