File tree Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,19 @@ jobs:
3434 - name : Build with Maven
3535 run : ./mvnw test package jacoco:report -Ptest
3636
37- - name : Run Specmatic Insights Github Build Reporter
37+ - name : Save Specmatic license
38+ run : |
39+ mkdir -p ~/.specmatic
40+ echo "${{ secrets.SPECMATIC_LICENSE_KEY }}" > ~/.specmatic/specmatic-license.txt
41+
42+ - name : Run Specmatic Insights Build Reporter
3843 run : |
3944 docker run \
4045 -v ${{ github.workspace }}:/workspace \
41- specmatic/specmatic-insights-github-build-reporter:latest \
42- --specmatic-insights-host https://insights.specmatic.in \
43- --specmatic-reports-dir /workspace/build/reports/specmatic \
44- --org-id ${{ secrets.SPECMATIC_ORG_ID }} \
45- --branch-name ${{ github.ref_name }} \
46- --repo-name ${{ github.event.repository.name }} \
47- --repo-id ${{ github.repository_id }} \
48- --repo-url ${{ github.event.repository.html_url }}
46+ -v ~/.specmatic/specmatic-license.txt:/root/.specmatic/specmatic-license.txt \
47+ -w /workspace \
48+ specmatic/specmatic:latest \
49+ send-report --insights-server-url=https://insights.specmatic.io
4950
5051 - name : Upload artifact
5152 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1111 <properties >
1212 <kotlin .version>1.9.24</kotlin .version>
1313 <maven .compiler>17</maven .compiler>
14- <specmatic .version>2.22.0 </specmatic .version>
14+ <specmatic .version>2.23.1 </specmatic .version>
1515 <spring .boot.version>3.4.0</spring .boot.version>
1616 </properties >
1717
18+ <repositories >
19+ <repository >
20+ <id >specmatic-releases</id >
21+ <name >Specmatic Repository</name >
22+ <url >https://repo.specmatic.io/releases</url >
23+ </repository >
24+ </repositories >
25+
1826 <dependencies >
1927 <dependency >
2028 <groupId >org.jetbrains.kotlin</groupId >
You can’t perform that action at this time.
0 commit comments