mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Add composite action mvn_verify
This commit is contained in:
61
.github/actions/mvn_verify/action.yml
vendored
Normal file
61
.github/actions/mvn_verify/action.yml
vendored
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
name: mvn_verify
|
||||||
|
runs:
|
||||||
|
using: composite
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.0
|
||||||
|
- name: restore_cache
|
||||||
|
uses: actions/cache@v3.3.2
|
||||||
|
with:
|
||||||
|
key: v1-dependencies-{{ checksum "pom.xml" }}
|
||||||
|
path: UPDATE_ME
|
||||||
|
restore-keys: v1-dependencies-{{ checksum "pom.xml" }}
|
||||||
|
- name: Write .env
|
||||||
|
run: echo "RDBMS_PASSWORD=$RDBMS_PASSWORD" >> qqq-sample-project/.env
|
||||||
|
shell: bash
|
||||||
|
- name: Run Maven Verify
|
||||||
|
run: mvn -s .circleci/mvn-settings.xml -T4 verify
|
||||||
|
shell: bash
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-backend-core
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-backend-module-filesystem
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-backend-module-rdbms
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-backend-module-api
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-middleware-api
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-middleware-javalin
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-middleware-picocli
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-middleware-slack
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-language-support-javascript
|
||||||
|
- uses: "./.github/actions/store_jacoco_site"
|
||||||
|
with:
|
||||||
|
module: qqq-sample-project
|
||||||
|
- name: Save test results
|
||||||
|
run: |-
|
||||||
|
mkdir -p ~/test-results/junit/
|
||||||
|
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
|
||||||
|
if: always()
|
||||||
|
shell: bash
|
||||||
|
- uses: actions/upload-artifact@v4.1.0
|
||||||
|
with:
|
||||||
|
path: "~/test-results"
|
||||||
|
- name: save_cache
|
||||||
|
uses: actions/cache@v3.3.2
|
||||||
|
with:
|
||||||
|
path: "~/.m2"
|
||||||
|
key: v1-dependencies-{{ checksum "pom.xml" }}
|
Reference in New Issue
Block a user