---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
trigger_map:
- push_branch: "*"
  workflow: primary
- pull_request_source_branch: "*"
  workflow: primary
workflows:
  primary:
    steps:
    - git-clone@8.0.0: {}
    - script@1.2.0:
        title: Install Cocoapods
        inputs:
        - content: |
            #!/usr/bin/env bash

            sudo gem install cocoapods
    - script@1.2.0:
        title: Run Swift5 tests
        inputs:
        - content: |
            #!/usr/bin/env bash

            set -e

            ./samples/client/petstore/swift5/swift5_test_all.sh
    - script@1.2.0:
        title: Run swift-combine tests
        inputs:
        - content: |
            #!/usr/bin/env bash

            set -e

            ./samples/client/petstore/swift-combine/swift-combine_test_all.sh

meta:
  bitrise.io:
    stack: osx-xcode-14.3.x-ventura
