Skip to content

Commit b8312b4

Browse files
committed
Further isolation
1 parent c6a12a6 commit b8312b4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test-pr.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,13 @@ jobs:
121121
- name: "Install latest devcontainer CLI"
122122
run: npm install -g @devcontainers/cli
123123

124+
- name: "Isolate scenario '${{ matrix.scenario }}'"
125+
run: |
126+
sudo apt-get update && sudo apt-get install -y jq
127+
sed 's://.*$::' test/docker-in-docker/scenarios.json \
128+
| jq '{ "${{ matrix.scenario }}": .["${{ matrix.scenario }}"] }' \
129+
> test/docker-in-docker/scenarios.json.tmp
130+
mv test/docker-in-docker/scenarios.json.tmp test/docker-in-docker/scenarios.json
131+
124132
- name: "Testing docker-in-docker scenario '${{ matrix.scenario }}'"
125133
run: devcontainer features test --features docker-in-docker --filter ${{ matrix.scenario }} --skip-autogenerated .

0 commit comments

Comments
 (0)