Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ jobs:
uses: actions/checkout@v7
with:
repository: easy-4-java/jwt-issuer
ref: fe29ffd8471eff70d2117b73e4cb2459e5ec4a2f
ref: 6b1a4de65a12a155e98e957ea82e446ef6420b36
path: .ci-dependencies/jwt-issuer
- name: Verify and install JWT issuer
run: mvn -B -ntp -s .github/maven-central-settings.xml -Dmaven.repo.local="${RUNNER_TEMP}/verified-m2" -f .ci-dependencies/jwt-issuer/pom.xml clean install
- name: Verify Shiro extension
run: mvn -B -ntp -s .github/maven-central-settings.xml -Dmaven.repo.local="${RUNNER_TEMP}/verified-m2" clean verify
- name: Require coverage for modules with existing tests
run: |
test -s .ci-dependencies/jwt-issuer/jwt-issuer-with-jjwt/target/jacoco.exec
test -s .ci-dependencies/jwt-issuer/jwt-issuer-with-jjwt/target/site/jacoco/jacoco.xml
test -s shiro-extension-core/target/jacoco.exec
test -s shiro-extension-core/target/site/jacoco/jacoco.xml
- uses: actions/upload-artifact@v7
if: always()
with:
Expand All @@ -34,3 +40,4 @@ jobs:
**/target/surefire-reports/**
**/target/site/jacoco/**
.ci-dependencies/**/target/surefire-reports/**
.ci-dependencies/**/target/site/jacoco/**
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
<skip>false</skip>
<skipTests>false</skipTests>
<forkMode>once</forkMode>
<argLine>-Xmx1024m
<argLine>@{jacocoArgLine} -Xmx1024m
-Dfile.encoding=UTF-8</argLine>
<additionalClasspathElements>
<additionalClasspathElement>${basedir}/target/test-classes</additionalClasspathElement>
Expand Down Expand Up @@ -272,6 +272,7 @@
<executions>
<execution>
<id>prepare-agent</id>
<configuration><propertyName>jacocoArgLine</propertyName></configuration>
<goals>
<goal>prepare-agent</goal>
</goals>
Expand Down Expand Up @@ -483,6 +484,7 @@

<!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
<properties>
<jacocoArgLine></jacocoArgLine>
<revision>2.0.x.20260630-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<caffeine.version>2.9.3</caffeine.version>
Expand Down
Loading