forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5debe5f
commit e029298
Showing
1 changed file
with
7 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
name: Run Integration Tests | ||
on: | ||
|
||
pull_request: | ||
push: #todo remove | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
if: ${{ !github.event.repository.fork && github.event.workflow_run.conclusion == 'success' }} | ||
name: Run integration tests on FTL | ||
runs-on: macos-latest | ||
name: Run Compose for iOS unit tests | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'zulu' | ||
- name: "set output directory" | ||
run: echo "::set-output name=output-dir::$(readlink -f .)/outputs" | ||
id: dirs | ||
- id: run_tests | ||
uses: androidX/androidx-ci-action@dist-latest | ||
with: | ||
target-run-id: ${{ github.event.workflow_run.id }} | ||
gcp-token: ${{ secrets.GCP_SA_KEY }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
output-folder: ${{ steps.dirs.outputs.output-dir }} | ||
- uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: outputs | ||
path: ${{ steps.dirs.outputs.output-dir }} | ||
run: ./gradlew :mpp:testUIKit |