Skip to content

Run conformance tests first, and jspecifySamplesTest second. (#114) #96

Run conformance tests first, and jspecifySamplesTest second. (#114)

Run conformance tests first, and jspecifySamplesTest second. (#114) #96

Workflow file for this run

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