Consume a single conformance test ZIP #123
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: 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 | |
JSPECIFY_CONFORMANCE_TEST_MODE: details # DO NOT MERGE | |
- name: Run Conformance Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: conformanceTests | |
- 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 |