diff options
| -rw-r--r-- | .github/workflows/ios-end-to-end-tests-merge-to-main.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/ios-end-to-end-tests-pr-opened.yml | 24 | ||||
| -rw-r--r-- | ios/MullvadVPNUITests/tests.json | 8 |
3 files changed, 31 insertions, 2 deletions
diff --git a/.github/workflows/ios-end-to-end-tests-merge-to-main.yml b/.github/workflows/ios-end-to-end-tests-merge-to-main.yml index b40c5600e6..34f0d85f84 100644 --- a/.github/workflows/ios-end-to-end-tests-merge-to-main.yml +++ b/.github/workflows/ios-end-to-end-tests-merge-to-main.yml @@ -5,6 +5,7 @@ on: pull_request: types: - closed + - opened branches: - main paths: diff --git a/.github/workflows/ios-end-to-end-tests-pr-opened.yml b/.github/workflows/ios-end-to-end-tests-pr-opened.yml new file mode 100644 index 0000000000..28fd8521e9 --- /dev/null +++ b/.github/workflows/ios-end-to-end-tests-pr-opened.yml @@ -0,0 +1,24 @@ +--- +name: iOS end-to-end on pr opened +on: + workflow_dispatch: + pull_request: + types: + - opened + branches: + - main + paths: + - .github/workflows/ios-end-to-end-tests*.yml + - ios/** + +permissions: + contents: read + issues: write + pull-requests: write + +jobs: + reuse-e2e-workflow: + uses: ./.github/workflows/ios-end-to-end-tests.yml + with: + arg_tests_json_key: "pr-opened" + secrets: inherit diff --git a/ios/MullvadVPNUITests/tests.json b/ios/MullvadVPNUITests/tests.json index ab6a0ff3de..3d45b2ea9f 100644 --- a/ios/MullvadVPNUITests/tests.json +++ b/ios/MullvadVPNUITests/tests.json @@ -15,7 +15,11 @@ ], "api-tests": [ "AccountTests" + ], + "pr-opened": [ + "AccountTests/testLogin", + "AccountTests/testCreateAccount", + "RelayTests" ] } -} - +}
\ No newline at end of file |
