File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 38
38
run : cargo build --release --verbose
39
39
- name : Test
40
40
run : cargo test --release --no-fail-fast --verbose
41
+ test-e2e :
42
+ name : Test E2E
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - uses : actions-cool/check-user-permission@v2
46
+ with :
47
+ require : write
48
+ id : check_permission
49
+ - name : Trigger E2E Workflow in backend-sdk-tests and Wait
50
+ if : ${{ steps.check_permission.outputs.require-result == 'true' }}
51
+ uses : convictional/trigger-workflow-and-wait@v1.6.5
52
+ with :
53
+ owner : passageidentity
54
+ repo : backend-sdk-tests
55
+ workflow_file_name : integration-tests-flex.yml
56
+ github_token : ${{ secrets.BE_SDK_PAT }}
57
+ # github.head_ref is only available on PR events, while github.ref_name provides the branch name on other events
58
+ client_payload : >-
59
+ {
60
+ "target_sdk":"flex-rust",
61
+ "use_test_release":true,
62
+ "sdk_branch_ref":"${{ github.head_ref || github.ref_name }}"
63
+ }
41
64
publish-check :
42
65
name : Publish Check
43
66
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments