Skip to content

Commit

Permalink
Merge branch 'main' of github.com:jspecify/nullness-checker-for-check…
Browse files Browse the repository at this point in the history
…er-framework into conformance-test-artifacts
  • Loading branch information
netdpb committed Nov 29, 2023
2 parents a636d06 + 91e888a commit c16c57a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
arguments: build
env:
SHALLOW: 1
- name: Run Samples Tests
uses: gradle/gradle-build-action@v2
with:
arguments: jspecifySamplesTest
- name: Check out jspecify/main
run: git -C ../jspecify checkout main
- 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
7 changes: 3 additions & 4 deletions initialize-project
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,9 @@ git_clone() {
run "${git[@]}" "https://github.com/jspecify/${repo}.git" "../${repo}"
}

# We test using some modified samples in a different branch of the jspecify
# repo, so we check out that branch. However, we fetch all branches even when
# SHALLOW is set so we can run conformance tests.
git_clone jspecify --no-single-branch --branch samples-google-prototype
# Fetch all branches even when $SHALLOW is set so we can check out
# samples-google-prototype to run samples tests.
git_clone jspecify --no-single-branch

git_clone jdk --depth 1 --single-branch

Expand Down

0 comments on commit c16c57a

Please sign in to comment.