File tree Expand file tree Collapse file tree 1 file changed +51
-3
lines changed
Expand file tree Collapse file tree 1 file changed +51
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ on: [push]
33
44jobs :
55 build-and-check :
6+ name : Build and check
67 runs-on : ubuntu-latest
78 steps :
89 - uses : actions/checkout@v4
2122 if : ${{ github.ref == 'refs/heads/master' }}
2223
2324 - name : Build
24- run : ./gradlew shadowJar
25+ run : ./gradlew shadowJar annotation:jar
2526
2627 - name : Run checks
2728 run : ./gradlew check
3233 - name : Upload artifact
3334 uses : actions/upload-artifact@v4
3435 with :
35- name : Agent package
36- path : agent/build/libs
36+ name : Jars
37+ path :
38+ - agent/build/libs/*.jar
39+ - annotation/build/libs/*.jar
40+
41+ smoke-test :
42+ name : Smoke test
43+ runs-on : ubuntu-latest
44+ needs : build-and-check
45+ steps :
46+ - uses : actions/checkout@v4
47+
48+ - uses : actions/setup-java@v4
49+ name : Set up Java with gradle
50+ with :
51+ java-version : ' 17'
52+ distribution : ' temurin'
53+ cache : gradle
54+
55+ - uses : actions/setup-java@v4
56+ name : Set up Java with Maven
57+ with :
58+ java-version : ' 17'
59+ distribution : ' temurin'
60+ cache : maven
61+
62+ - uses : actions/setup-java@v4
63+ name : Set up Java with sbt
64+ with :
65+ java-version : ' 17'
66+ distribution : ' temurin'
67+ cache : sbt
68+
69+ - name : Setup Bats and bats libs
70+ id : setup-bats
71+ 72+
73+ - name : Download artifact
74+ uses : actions/download-artifact@v4
75+ with :
76+ name : Jars
77+
78+ - name : Run smoke tests
79+ shell : bash
80+ env :
81+ BATS_LIB_PATH : ${{ steps.setup-bats.outputs.lib-path }}
82+ TERM : xterm
83+ run : bin/test
84+
You can’t perform that action at this time.
0 commit comments