Skip to content

Commit

Permalink
Update CI according to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-shettyy committed Mar 20, 2024
1 parent 656192d commit 640b71f
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

0 comments on commit 640b71f

Please sign in to comment.