Skip to content

Commit

Permalink
Cleaned up CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Jul 14, 2024
1 parent ec2fd6d commit 626c565
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ defaults: &defaults
JVM_OPTS: -Xmx3200m
TERM: dumb
CI_NAME: "CircleCI"
parameters:
reports_dir:
type: string
default: "build/reports/test_results"

commands:
build_and_test:
Expand All @@ -19,14 +23,16 @@ commands:
candidate: kotlin
version: 2.0.0
- run:
name: Download the dependencies
name: Download dependencies
command: ./bld download
- run:
name: Compile source
command: ./bld compile
- run:
name: Run tests
command: ./bld test
command: ./bld test -reports-dir=<< parameters.reports_dir >>
- store_test_results:
path: << parameters.reports_dir >>

jobs:
bld_jdk17:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK ${{ matrix.java-version }}
- name: Set up JDK ${{ matrix.java-version }} with Kotlin ${{ matrix.kotlin-version }}
uses: actions/setup-java@v4
with:
distribution: "zulu"
Expand Down

0 comments on commit 626c565

Please sign in to comment.