E2E tests #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e | |
on: | |
workflow_dispatch: | |
workflow_call: | |
secrets: | |
E2E_API_ENDPOINT: | |
required: true | |
E2E_API_KEY: | |
required: true | |
jobs: | |
e2e: | |
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 |