diff options
| author | mojganii <mojgan.jelodar@codic.se> | 2024-11-21 10:43:34 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-11-27 14:55:31 +0100 |
| commit | 4bc3a695a1986a4e1e4525c66c4c27e6860dc423 (patch) | |
| tree | aca8855a955eede9c02cbe6c0f126e4c3229bc44 /.github | |
| parent | 909cfb1e4d683f0ecc3c762b67677a1992969b44 (diff) | |
| download | mullvadvpn-4bc3a695a1986a4e1e4525c66c4c27e6860dc423.tar.xz mullvadvpn-4bc3a695a1986a4e1e4525c66c4c27e6860dc423.zip | |
Remove settings migration test from CI
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ios-end-to-end-tests-settings-migration.yml | 126 | ||||
| -rw-r--r-- | .github/workflows/ios-end-to-end-tests.yml | 4 |
2 files changed, 4 insertions, 126 deletions
diff --git a/.github/workflows/ios-end-to-end-tests-settings-migration.yml b/.github/workflows/ios-end-to-end-tests-settings-migration.yml deleted file mode 100644 index fb59434b27..0000000000 --- a/.github/workflows/ios-end-to-end-tests-settings-migration.yml +++ /dev/null @@ -1,126 +0,0 @@ ---- -name: iOS settings migration tests -concurrency: - group: ios-end-to-end-tests - cancel-in-progress: false -permissions: - contents: read -on: - workflow_dispatch: - schedule: - # At midnight every day. - # Notifications for scheduled workflows are sent to the user who last modified the cron - # syntax in the workflow file. If you update this you must have notifications for - # Github Actions enabled, so these don't go unnoticed. - # https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs - - cron: '0 0 * * *' -env: - TEST_DEVICE_UDID: 00008130-0019181022F3803A -jobs: - test: - name: Settings migration end to end tests - runs-on: [self-hosted, macOS, ios-test] - env: - OLD_APP_COMMIT_HASH: 895b7d98825e678f5d7023d5ea3c9b7beee89280 - steps: - - name: Configure Rust - uses: actions-rs/toolchain@v1.0.6 - with: - toolchain: stable - override: true - target: aarch64-apple-ios - - - name: Uninstall app - timeout-minutes: 5 - run: ios-deploy --id ${{ env.TEST_DEVICE_UDID }} --uninstall_only --bundle_id net.mullvad.MullvadVPN - - - name: Checkout old repository version - uses: actions/checkout@v4 - with: - ref: ${{ env.OLD_APP_COMMIT_HASH }} - - - name: Change DNS settings on old app version - uses: ./.github/actions/ios-end-to-end-tests - with: - ios_device_pin_code: ${{ secrets.IOS_DEVICE_PIN_CODE }} - test_device_identifier_uuid: ${{ secrets.IOS_TEST_DEVICE_IDENTIFIER_UUID }} - has_time_account_number: ${{ secrets.IOS_HAS_TIME_ACCOUNT_NUMBER_PRODUCTION }} - no_time_account_number: ${{ secrets.IOS_NO_TIME_ACCOUNT_NUMBER_PRODUCTION }} - test_device_udid: ${{ env.TEST_DEVICE_UDID }} - xcode_test_plan: 'MullvadVPNUITestsChangeDNSSettings' - partner_api_token: ${{ secrets.STAGEMOLE_PARTNER_AUTH }} - - - name: Store test report for changing DNS settings - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-report-change-dns-settings - path: ios/test-report/junit.xml - - - name: Checkout repository to get the current app version - uses: actions/checkout@v4 - - - name: Verify DNS settings still changed on current app version - uses: ./.github/actions/ios-end-to-end-tests - if: always() - with: - ios_device_pin_code: ${{ secrets.IOS_DEVICE_PIN_CODE }} - test_device_identifier_uuid: ${{ secrets.IOS_TEST_DEVICE_IDENTIFIER_UUID }} - has_time_account_number: ${{ secrets.IOS_HAS_TIME_ACCOUNT_NUMBER_PRODUCTION }} - no_time_account_number: ${{ secrets.IOS_NO_TIME_ACCOUNT_NUMBER_PRODUCTION }} - test_device_udid: ${{ env.TEST_DEVICE_UDID }} - partner_api_token: ${{ secrets.STAGEMOLE_PARTNER_AUTH }} - xcode_test_plan: 'MullvadVPNUITestsVerifyDNSSettingsChanged' - - - name: Store test report for verifying DNS settings - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-report-verify-dns-settings - path: ios/test-report/junit.xml - - - name: Checkout old repository version - uses: actions/checkout@v4 - with: - ref: ${{ env.OLD_APP_COMMIT_HASH }} - - - name: Change all other settings on old app version - uses: ./.github/actions/ios-end-to-end-tests - if: always() - with: - ios_device_pin_code: ${{ secrets.IOS_DEVICE_PIN_CODE }} - test_device_identifier_uuid: ${{ secrets.IOS_TEST_DEVICE_IDENTIFIER_UUID }} - has_time_account_number: ${{ secrets.IOS_HAS_TIME_ACCOUNT_NUMBER_PRODUCTION }} - no_time_account_number: ${{ secrets.IOS_NO_TIME_ACCOUNT_NUMBER_PRODUCTION }} - test_device_udid: ${{ env.TEST_DEVICE_UDID }} - partner_api_token: ${{ secrets.STAGEMOLE_PARTNER_AUTH }} - xcode_test_plan: 'MullvadVPNUITestsChangeSettings' - - - name: Store test report for changing all settings - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-report-change-all-other-settings - path: ios/test-report/junit.xml - - - name: Checkout repository to get the current app version - uses: actions/checkout@v4 - - - name: Verify all other settings still changed on current app version - uses: ./.github/actions/ios-end-to-end-tests - if: always() - with: - ios_device_pin_code: ${{ secrets.IOS_DEVICE_PIN_CODE }} - test_device_identifier_uuid: ${{ secrets.IOS_TEST_DEVICE_IDENTIFIER_UUID }} - has_time_account_number: ${{ secrets.IOS_HAS_TIME_ACCOUNT_NUMBER_PRODUCTION }} - no_time_account_number: ${{ secrets.IOS_NO_TIME_ACCOUNT_NUMBER_PRODUCTION }} - test_device_udid: ${{ env.TEST_DEVICE_UDID }} - partner_api_token: ${{ secrets.STAGEMOLE_PARTNER_AUTH }} - xcode_test_plan: 'MullvadVPNUITestsVerifySettingsChanged' - - - name: Store test report for verifying all other settings - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-report-verify-all-other-settings - path: ios/test-report/junit.xml diff --git a/.github/workflows/ios-end-to-end-tests.yml b/.github/workflows/ios-end-to-end-tests.yml index 4aa336dd9f..f177c28bf0 100644 --- a/.github/workflows/ios-end-to-end-tests.yml +++ b/.github/workflows/ios-end-to-end-tests.yml @@ -22,6 +22,10 @@ on: user_supplied_test_name: description: 'Only run test case/suite' required: false + commit_hash: + description: > + Specifies the repository commit to use; defaults to the current event's commit if not provided. + required: false jobs: set-up-outputs-directory: name: Set up outputs directory |
