Skip to content

E2E tests

E2E tests #22

Workflow file for this run

name: E2E tests
on:
workflow_dispatch:
workflow_call:
jobs:
generate-xcode-project:
uses: ./.github/workflows/generate-xcode-project.yml
with:
# To avoid generating the xcode project twice, we skip it when it was dispacthed by `build` workflow
generate-xcode-project: ${{ github.event.workflow == '.github/workflows/e2eeee.yml' && true || false}}
e2e:
# We must ensure the xcode project file is uploaded before proceeding
needs: generate-xcode-project
name: E2E tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Download xcode project file
uses: actions/download-artifact@v3
with:
name: output-xcodeproj-file
path: ./Bucketeer.xcodeproj
- name: Download environment file
uses: actions/download-artifact@v3
with:
name: output-environment-file
path: ./environment.xcconfig
- name: Build for testing
run: make build-for-testing
- name: E2E Test
env:
E2E_API_ENDPOINT: ${{ secrets.E2E_API_ENDPOINT }}
E2E_API_KEY: ${{ secrets.E2E_API_KEY }}
run: make e2e-without-building