Skip to content

Commit

Permalink
Merge pull request #2083 from tweag/cg/run_nix_shell_with_der_path
Browse files Browse the repository at this point in the history
chore: refactor to use `working-directory` and `derivation-path` in `run-nix-shell`
  • Loading branch information
mergify[bot] authored Dec 21, 2023
2 parents f13ebfd + 043dfd0 commit 7115aad
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ jobs:
with:
options: ${{ env.NIX_SHELL_ARGS }}
run: |
set -euo pipefail
bazel test //...
bazel build //docs:api_html
bazel build //docs:guide_html
Expand All @@ -119,18 +118,15 @@ jobs:
uses: tweag/run-nix-shell@v0
with:
options: ${{ env.NIX_SHELL_ARGS }}
run: |
set -euo pipefail
cd rules_haskell_nix
bazel test //...
working-directory: rules_haskell_nix
run: bazel test //...
- name: Build & test - rules_haskell_tests
if: matrix.module == 'rules_haskell_tests'
uses: tweag/run-nix-shell@v0
with:
options: ${{ env.NIX_SHELL_ARGS }}
working-directory: rules_haskell_tests
run: |
set -euo pipefail
cd rules_haskell_tests
# XXX run start script `--with-bzlmod=true` when supported
if ! ${{ matrix.bzlmod }}; then
./tests/run-start-script.sh --use-nix --with-bzlmod=${{ matrix.bzlmod }}
Expand Down

0 comments on commit 7115aad

Please sign in to comment.