File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Compile against documentation examples
2+
3+ on :
4+ workflow_call :
5+ workflow_dispatch :
6+ pull_request : # temporary until it's merged
7+ branches : [ KG-ci-additions ]
8+ push :
9+ branches : [ KG-ci-additions ]
10+
11+ jobs :
12+ test-compilation :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v6
17+
18+ - name : Build client
19+ uses : ./.github/actions/checkout-and-build
20+
21+ - name : Get built JAR path
22+ id : jar
23+ run : |
24+ JAR_PATH=$(ls target/astra-db-java-*.jar)
25+ echo "jar_path=$JAR_PATH" >> $GITHUB_OUTPUT
26+
27+ - name : Run compilation tests
28+ uses : datastax/astra-client-docs-tests/.github/actions/test-compilation@master
29+ with :
30+ clients : ' java'
31+ args : -A java="$${{ steps.jar.outputs.jar_path }}"
32+ docs-repo-token : ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }}
You can’t perform that action at this time.
0 commit comments