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 16497ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ version: 2.1
orbs:
sdkman: joshdholtz/sdkman@0.2.0

parameters:
reports_dir:
type: string
default: "build/reports/test_results"

defaults: &defaults
working_directory: ~/repo
environment:
Expand All @@ -19,14 +24,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 16497ff

Please sign in to comment.