Merge pull request #41 from hotwired/navigator #17
Workflow file for this run
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: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Run lint | |
run: ./gradlew core:lint | |
- name: Run tests | |
run: ./gradlew testRelease | |
- name: Archive test results | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: test-results-report | |
path: core/build/reports/tests/testReleaseUnitTest |