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 : CI
2+
3+ on :
4+ push :
5+ paths :
6+ - ' **/*.java'
7+ - ' pom.xml'
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ env :
13+ BYTEBUDDY_VERSION : 1.17.5
14+
15+ steps :
16+ - uses : actions/checkout@v3
17+ - uses : actions/cache@v3
18+ with :
19+ path : ~/.m2/repository
20+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
21+ restore-keys : |
22+ ${{ runner.os }}-maven-
23+
24+ - name : Set up JDK 17
25+ uses : actions/setup-java@v3
26+ with :
27+ java-version : ' 17'
28+ distribution : ' temurin'
29+
30+ - name : Download ByteBuddy agent for tests
31+ run : mvn -B dependency:copy -Dartifact=net.bytebuddy:byte-buddy-agent:${{ env.BYTEBUDDY_VERSION }} -DoutputDirectory=target/test-agent -Dtransitive=false
32+
33+ - name : Run unit tests
34+ run : mvn -B -DargLine="-javaagent=${{ github.workspace }}/target/test-agent/byte-buddy-agent-${{ env.BYTEBUDDY_VERSION }}.jar" test
You can’t perform that action at this time.
0 commit comments