Skip to content

Commit 71ee2dd

Browse files
committed
test: add NixOS GH workflow
1 parent 84ab662 commit 71ee2dd

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,17 @@ jobs:
118118
- name: Run Tests
119119
run: |
120120
./bashunit --parallel tests/
121+
122+
nixos:
123+
name: "NixOS"
124+
runs-on: ubuntu-latest
125+
steps:
126+
- name: Checkout
127+
uses: actions/checkout@v4
128+
with:
129+
fetch-depth: 1
130+
131+
- name: Run Tests
132+
run: |
133+
docker run --rm -v "$(pwd)":/project -w /project nixos/nix:latest \
134+
nix-shell -p bash gnumake git --run "./bashunit --parallel tests/"

0 commit comments

Comments
 (0)