Skip to content

Commit a785a32

Browse files
committed
chore: e2e tests
1 parent 409e33e commit a785a32

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,41 +19,40 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v1
2121
- uses: ./
22+
name: Delete all deployments
2223
with:
2324
token: ${{github.token}}
2425
type: delete-all
2526
- uses: ./
26-
id: create
27+
name: Create first deployment
28+
id: create-first
2729
with:
2830
token: ${{github.token}}
2931
type: create
3032
- uses: ./
33+
name: Finish first deployment with success
3134
with:
3235
token: ${{github.token}}
3336
type: finish
3437
status: success
35-
deployment_id: ${{steps.create.outputs.deployment_id}}
38+
deployment_id: ${{steps.create-first.outputs.deployment_id}}
3639
- uses: ./
40+
name: Delete first deployment
3741
with:
3842
token: ${{github.token}}
3943
type: delete
40-
deployment_id: ${{steps.create.outputs.deployment_id}}
44+
deployment_id: ${{steps.create-first.outputs.deployment_id}}
4145
- uses: ./
46+
name: Create second deployment
47+
id: create-second
4248
with:
4349
token: ${{github.token}}
4450
type: create
51+
environment: test
4552
- uses: ./
53+
name: Finish second deployment
4654
with:
4755
token: ${{github.token}}
48-
type: delete
49-
deployment_id: 248141623
50-
- uses: ./
51-
with:
52-
token: ${{github.token}}
53-
type: delete
54-
deployment_id: 248139855
55-
- uses: ./
56-
with:
57-
token: ${{github.token}}
58-
type: delete
59-
deployment_id: 248137552
56+
type: finish
57+
status: success
58+
deployment_id: ${{steps.create-second.outputs.deployment_id}}

0 commit comments

Comments
 (0)