-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up CircleCi #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Gradle 7.1 * Java 8 - feel free to change that. Be aware that Gradle does not support the latest, Java 17, yet.
ArchibaldBienetre
force-pushed
the
set-up-circleci
branch
from
September 26, 2021 11:40
def732a
to
092f605
Compare
.circleci/config.yml
Outdated
Comment on lines
4
to
14
run_tests_java: | ||
docker: | ||
- image: cimg/openjdk:8.0.292 | ||
steps: | ||
- checkout | ||
- run: | | ||
./gradlew clean test | ||
- store_test_results: | ||
path: test-results | ||
- store_artifacts: | ||
path: test-results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you compare with the CircleCI Java example, we don't do any kind of caching of the installed Gradle wrapper, yet.
You will see this in the logs:
#!/bin/bash -eo pipefail
./gradlew clean test
Downloading https://services.gradle.org/distributions/gradle-7.1-bin.zip
..........10%...........20%...........30%..........40%...........50%...........60%..........70%...........80%...........90%...........100%
Welcome to Gradle 7.1!
This may make this build a bit slow.
We can add that later, if you want.
Check with the configuration reference in case of detailed questions: https://circleci.com/docs/2.0/configuration-reference/ The CircleCI Java example is needlessly verbose, imo https://circleci.com/docs/2.0/language-java/ Working with CircleCI, it is recommended that you install the CLI tool, so you can always run `circleci config validate` locally. https://circleci.com/docs/2.0/local-cli/
ArchibaldBienetre
force-pushed
the
set-up-circleci
branch
from
September 26, 2021 11:43
092f605
to
48972d0
Compare
Merged
4 tasks
This pull request was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before you merge this
(I would make this a Draft pull request, but this is a PRO feature that DonMischos setup does not support)
EDIT: It's not supported with my Pro account, either, it seems :/ https://docs.github.com/en/get-started/learning-about-github/githubs-products#github-team
Check with the configuration reference
in case of detailed questions:
https://circleci.com/docs/2.0/configuration-reference/
The CircleCI Java example is
needlessly verbose, imo
https://circleci.com/docs/2.0/language-java/
Working with CircleCI, it is recommended that you
install the CLI tool, so you can always run
circleci config validate
locally.
https://circleci.com/docs/2.0/local-cli/
✔️ This is working: See here: https://app.circleci.com/pipelines/github/ArchibaldBienetre/csv2tex?branch=set-up-circleci