Skip to content

Commit c319922

Browse files
committed
Add processor tests to CI
1 parent c4bdfd6 commit c319922

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
- store_artifacts:
1919
path: processor/build/libs/processor.jar
2020
destination: processor.jar
21+
test_processor:
22+
docker:
23+
- image: circleci/openjdk:8u222-stretch
24+
steps:
25+
- checkout
26+
- run: ./gradlew :processor:test --no-daemon --no-build-cache --refresh-dependencies
27+
- store_test_results:
28+
path: processor/build/reports/tests
29+
- store_test_results:
30+
path: processor/build/test-results
2131
test_sample:
2232
docker:
2333
- image: circleci/openjdk:8u222-stretch
@@ -71,6 +81,10 @@ workflows:
7181
requires:
7282
- build_annotations
7383
- build_processor
84+
- test_processor:
85+
requires:
86+
- build_annotations
87+
- build_processor
7488
release:
7589
jobs:
7690
- ensure_tag_allowed:
@@ -104,6 +118,15 @@ workflows:
104118
requires:
105119
- build_annotations
106120
- build_processor
121+
- test_processor:
122+
filters:
123+
branches:
124+
ignore: /.*/
125+
tags:
126+
only: /^v.*/
127+
requires:
128+
- build_annotations
129+
- build_processor
107130
- release_on_github:
108131
context: auto-factory-kotlin_release_github
109132
filters:
@@ -113,6 +136,7 @@ workflows:
113136
only: /^v.*/
114137
requires:
115138
- test_sample
139+
- test_processor
116140
- release_on_bintray:
117141
# Re-use this context as it goes by username rather than project. It can't be renamed though :/
118142
context: test-accessors_release_bintray
@@ -123,3 +147,4 @@ workflows:
123147
only: /^v.*/
124148
requires:
125149
- test_sample
150+
- test_processor

0 commit comments

Comments
 (0)