Skip to content

Commit

Permalink
Try another workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Nov 4, 2024
1 parent 99a7405 commit c7f6d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,32 +75,24 @@ jobs:
run: |
~/macos-ci-setup/run-vm-shell-command.sh ${{ env.vm_name }} "cd ~/_repo && make test-streams-start"
resolve-spm-dependencies:
needs: [install-tools, cache-management, run-streams, setup-project]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Resolve SPM dependencies
run: |
~/macos-ci-setup/run-vm-shell-command.sh ${{ env.vm_name }} "cd ~/_repo && swift package resolve"
test-ios:
needs: [install-tools, resolve-spm-dependencies]
needs: [install-tools, cache-management, run-streams, setup-project]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Run the iOS tests
run: |
~/macos-ci-setup/run-vm-shell-command.sh ${{ env.vm_name }} "cd ~/_repo && make test-ios"
test-tvos:
needs: [install-tools, resolve-spm-dependencies]
needs: [install-tools, test-ios]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Run the tvOS tests
run: |
~/macos-ci-setup/run-vm-shell-command.sh ${{ env.vm_name }} "cd ~/_repo && make test-tvos"
archive-demo-ios:
needs: [install-tools, test-ios]
needs: [install-tools, test-tvos]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Archive the iOS demo
Expand Down
3 changes: 0 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,13 @@ end

def run_package_tests(platform_id, scheme_name)
output_path = "fastlane/test_output_#{platform_id}"
derived_data_path = "#{Dir.home}/Library/Developer/Xcode/DerivedData/#{platform_id}"
FileUtils.mkdir_p(output_path)
FileUtils.mkdir_p(derived_data_path)
run_tests(
scheme: scheme_name,
device: DEVICES[platform_id],
package_path: '.',
result_bundle: true,
output_directory: output_path,
derived_data_path: derived_data_path,
number_of_retries: 3,
fail_build: false,
xcargs: '-testLanguage en -testRegion en_US'
Expand Down

0 comments on commit c7f6d5d

Please sign in to comment.