Skip to content

Commit

Permalink
add nix shell ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Nov 2, 2024
1 parent 854fea4 commit ffc918a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,22 @@ jobs:
./configure
./install-sh
nix:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- name: Run tests
run: |
nix-shell --run "sh scripts/run_tests.sh symlinks summary exit_status unzip_D_flag_commit hidden_variables command_substitution reuse_problematic_sandbox toplevel-perms empty_summary merge_multiple_dirs touch_and_rm_no_flag reuse_sandbox mkdir_on_file all-commit-cases unzip_D_flag_commit_without_cleanup unzip_no_flag pipeline touch_and_rm_D_flag_commit network ignore_flag dev_urandom nonexistent_sandbox"
prerelease:
needs:
- test-checkout
Expand Down

0 comments on commit ffc918a

Please sign in to comment.