forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 80
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
a0658b0
commit 5debe5f
Showing
1 changed file
with
30 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Run Integration Tests | ||
on: | ||
|
||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
if: ${{ !github.event.repository.fork && github.event.workflow_run.conclusion == 'success' }} | ||
name: Run integration tests on FTL | ||
steps: | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
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 }} |