Run conformance tests first, and jspecifySamplesTest second. (#114) #96
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: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
env: | |
SHALLOW: 1 | |
- name: Run Conformance Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: conformanceTest conformanceTestOnSamples | |
- name: Check out jspecify/samples-google-prototype | |
run: git -C ../jspecify checkout samples-google-prototype | |
- name: Run Samples Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: jspecifySamplesTest |