Skip to content

Commit

Permalink
Quick build on examples and store test results
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed Nov 15, 2023
1 parent d24aeb6 commit 6f471d3
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ commands:
command: |
./mvnw -ntp dependency:resolve-plugins go-offline:resolve-dependencies -DskipTests=true -B
save-test-results:
<<: *defaults
working_directory: ~/querydsl
steps:
- run:
name: Save test results
command: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always
- store_test_results:
path: ~/test-results

configure-gpg:
steps:
- run:
Expand Down Expand Up @@ -102,6 +115,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp verify -B -Pno-databases
- save-test-results
buildExamples:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -116,7 +130,9 @@ jobs:
- run:
name: 'Test'
command: |
./mvnw -ntp verify -B -Pexamples,no-databases
./mvnw -ntp install -B -Pquickbuild
./mvnw -ntp verify -B -Pexamples
- save-test-results
testMySQL:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -138,6 +154,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.MySQL
- save-test-results
testPostgreSQL:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -158,6 +175,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.PostgreSQL
- save-test-results
testCUBRID:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -176,6 +194,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.CUBRID
- save-test-results
testOracle:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -196,6 +215,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.Oracle
- save-test-results
testMongo:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -212,6 +232,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.MongoDB
- save-test-results
testFirebird:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -233,6 +254,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.Firebird
- save-test-results
testMSSQL:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -253,6 +275,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.SQLServer
- save-test-results
testEmbedded:
<<: *defaults
working_directory: ~/querydsl
Expand All @@ -268,6 +291,7 @@ jobs:
name: 'Test'
command: |
./mvnw -ntp test -B -Dgroups=com.querydsl.core.testutil.EmbeddedDatabase
- save-test-results

deploy:
executor:
Expand Down

0 comments on commit 6f471d3

Please sign in to comment.