Skip to content

Commit 53b2cb6

Browse files
committed
build(fix): fixing compliance tests
1 parent 806523c commit 53b2cb6

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/release.yaml

+9-8
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: release
33
on:
44
workflow_dispatch:
55
inputs:
6-
skip_tests:
7-
description: 'Skip compliance tests'
6+
with_tests:
7+
description: 'Run compliance tests'
88
required: false
99
type: choice
1010
options:
11-
- 'false'
1211
- 'true'
12+
- 'false'
1313

1414
jobs:
1515
build-and-test:
@@ -83,13 +83,14 @@ jobs:
8383
!mods/**/src
8484
!mods/**/test
8585
!mods/**/dist/*.ts
86-
# This step is only executed for workflow_dispatch events with skip_tests = false
86+
# This step is only executed for workflow_dispatch events with with_tests = true
8787
- name: SIP Connect v1.1 Compliance Tests
88-
if: github.event.inputs.skip_tests == 'false'
88+
if: github.event.inputs.with_tests == 'true'
8989
run: |
90-
docker-compose -f compose.yaml -f compose.dev.yaml up \
91-
compliance edgeport01 edgeport02 dispatcher registry requester apiserver connect location \
92-
--build --abort-on-container-exit --exit-code-from compliance
90+
docker-compose -f compose.yaml -f compose.dev.yaml up \
91+
--build --abort-on-container-exit --exit-code-from compliance \
92+
compliance edgeport01 edgeport02 dispatcher registry requester apiserver connect location
93+
9394
publish-to-docker-hub:
9495
name: Publish to Docker Hub
9596
uses: ./.github/workflows/docker-hub-release.yaml

0 commit comments

Comments
 (0)