Use published conformance tests #164
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 and Test | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build conformanceTests demoTest | |
env: | |
SHALLOW: 1 | |
- name: Check out jspecify/samples-google-prototype | |
if: always() | |
run: git -C ../jspecify checkout samples-google-prototype | |
- name: Run Samples Tests | |
if: always() | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: jspecifySamplesTest |