Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 8e6b73b

Browse files
authored
CI, speeds up java tests via circleci cache (#379)
* Adds circleci cache * Updates java build cache
1 parent d111cf9 commit 8e6b73b

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

.circleci/config.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,14 @@ commands: # a reusable command with parameters
3333
paths:
3434
# This is a broad list of cache paths to include many possible development environments
3535
# You can probably delete some of these entries
36-
- vendor/bundle
37-
- ~/.pyenv
38-
- ~/virtualenvs
3936
- ~/.m2
40-
- ~/.ivy2
41-
- ~/.sbt
42-
- ~/.bundle
43-
- ~/.gradle
44-
- ~/.cache/bower
45-
- ".git"
46-
- ~/.stack
4737
# save "default" cache using the key "source-v2-"
4838
- save_cache:
4939
key: source-v2-
5040
paths:
5141
# This is a broad list of cache paths to include many possible development environments
5242
# You can probably delete some of these entries
53-
- vendor/bundle
54-
- ~/.pyenv
55-
- ~/virtualenvs
5643
- ~/.m2
57-
- ~/.ivy2
58-
- ~/.sbt
59-
- ~/.bundle
60-
- ~/.gradle
61-
- ~/.cache/bower
62-
- ".git"
63-
- ~/.stack
6444
# Teardown
6545
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
6646
# Save test results
@@ -155,8 +135,15 @@ jobs:
155135
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
156136
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
157137
steps:
138+
- restore_cache:
139+
keys:
140+
- javaClientMavenCache
158141
- command_build_and_test:
159142
jobId: "testJava17ClientSamples"
143+
- save_cache:
144+
key: javaClientMavenCache
145+
paths:
146+
- ~/.m2
160147
workflows:
161148
version: 2
162149
build:

0 commit comments

Comments
 (0)