Skip to content

Commit

Permalink
Separate buildandtest in multiple steps
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljohanneskraft committed Jun 18, 2024
1 parent 5dfd952 commit ad26152
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,26 @@ jobs:
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
permissions:
contents: read
clonefirebase:
name: Check out ENGAGE-HF-Firebase
buildandtest:
name: Build and Test
steps:
- name: Checkout code
- name: Check out ENGAGE-HF-Firebase
uses: actions/checkout@main
with:
repository: StanfordBDHG/ENGAGE-HF-Firebase
buildandtest:
name: Build and Test
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
needs: clonefirebase
permissions:
contents: read
with:
artifactname: ENGAGEHF.xcresult
runsonlabels: '["macOS", "self-hosted"]'
setupSimulators: true
setupfirebaseemulator: true
fastlanelane: test
firebaseemulatorimport: ./ENGAGE-HF-Firebase
secrets:
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }}
- name: Build and Test
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
contents: read
with:
artifactname: ENGAGEHF.xcresult
runsonlabels: '["macOS", "self-hosted"]'
setupSimulators: true
setupfirebaseemulator: true
fastlanelane: test
firebaseemulatorimport: ./ENGAGE-HF-Firebase
secrets:
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }}
uploadcoveragereport:
name: Upload Coverage Report
needs: buildandtest
Expand Down

0 comments on commit ad26152

Please sign in to comment.