From 953e79dd70f908f96b71ef516453a8fb9fc52d4a Mon Sep 17 00:00:00 2001 From: Will Owens Date: Fri, 23 Feb 2024 04:59:56 -0500 Subject: [PATCH] [ci] utilize matrix to set TEST_SHELLS --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e9b85c..c6688bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,10 @@ jobs: git config --global init.defaultBranch master git config --global user.name scm_breeze@scm_breeze git config --global user.email "SCM Breeze" - - run: nix-shell -p ruby bash zsh --run ./run_tests.sh + - name: test + env: + TEST_SHELLS: ${{ matrix.test_shell }} + run: nix-shell -p ruby $TEST_SHELLS --run ./run_tests.sh # - run: nix-shell -p shunit2 -i ./run_tests.sh # - run: nix build # - run: nix flake check