Skip to content

Commit a5ddd1b

Browse files
committed
Create and destroy nondefault workspace
1 parent 9004c40 commit a5ddd1b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test-unlock-state.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ jobs:
9090
- name: Checkout
9191
uses: actions/checkout@v3
9292

93+
- name: Create first workspace
94+
uses: ./terraform-new-workspace
95+
with:
96+
path: tests/workflows/test-unlock-state
97+
workspace: hello
98+
9399
- name: Check state is not locked
94100
uses: ./terraform-apply
95101
with:
@@ -162,3 +168,9 @@ jobs:
162168
path: tests/workflows/test-unlock-state
163169
workspace: hello
164170
auto_approve: true
171+
172+
- name: Destroy workspace
173+
uses: ./terraform-destroy-workspace
174+
with:
175+
path: tests/workflows/test-unlock-state
176+
workspace: hello

0 commit comments

Comments
 (0)