From 640b71f79d4b48b09444c3f6d000f0dce483fe10 Mon Sep 17 00:00:00 2001 From: Rohan Shetty Date: Wed, 20 Mar 2024 17:42:52 -0400 Subject: [PATCH] Update CI according to feedback --- .github/workflows/workflow.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 818913f..69bcf8a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,31 +1,22 @@ -# This is a basic workflow to help you get started with Actions - name: CI # Controls when the workflow will run on: [push, pull_request] -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" + # This job will build and test the JSpecify Conformance Tests on the Checker Framework build-and-test: # The type of runner that the job will run on runs-on: ubuntu-latest defaults: run: - working-directory: checker-framework-jspecify-conformance - # Steps represent a sequence of tasks that will be executed as part of the job + working-directory: jspecify-conformance steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Check out CF JSpecify Conformance Tests uses: actions/checkout@v4 with: - path: checker-framework-jspecify-conformance - - name: Check out Checker Framework - uses: actions/checkout@v4 - with: - repository: eisop/checker-framework - path: checker-framework + path: jspecify-conformance - name: Set up Java uses: actions/setup-java@v4 with: @@ -34,6 +25,4 @@ jobs: - name: Set up Gradle uses: gradle/gradle-build-action@v3 - name: Build and Test - run: ./gradlew assemble runJSpecifyConformanceTests -PcfLocal - env: - CHECKERFRAMEWORK: ./checker-framework + run: gradle clean test