Skip to content

Commit 611124f

Browse files
committed
Limit Docker tests to Linux
1 parent 538c8a6 commit 611124f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/snapshot.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
node-version: 14
6565
- name: Setup Docker
66+
if: ${{matrix.os === 'ubuntu-latest'}}
6667
run: |
6768
docker pull s1hofmann/nut-ci:latest
6869
docker run -it -d --name nut-ci --shm-size 4gb --user $(id -u):$(id -g) -v ${PWD}:${PWD}:rw s1hofmann/nut-ci:latest bash
@@ -77,6 +78,7 @@ jobs:
7778
with:
7879
run: npm run coverage -- --coverageDirectory=coverage/unit
7980
- name: Run Docker E2E tests
81+
if: ${{matrix.os === 'ubuntu-latest'}}
8082
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} 14"
8183

8284
deploy:

0 commit comments

Comments
 (0)