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

CI, speeds up java tests via circleci cache #379

Merged
merged 2 commits into from
Jan 23, 2024
Merged
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
27 changes: 7 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -33,34 +33,14 @@ commands: # a reusable command with parameters
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/.pyenv
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
# save "default" cache using the key "source-v2-"
- save_cache:
key: source-v2-
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/.pyenv
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
# Teardown
# 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
# Save test results
@@ -155,8 +135,15 @@ jobs:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
steps:
- restore_cache:
keys:
- javaClientMavenCache
- command_build_and_test:
jobId: "testJava17ClientSamples"
- save_cache:
key: javaClientMavenCache
paths:
- ~/.m2
workflows:
version: 2
build: