diff --git a/.circleci/config.yml b/.circleci/config.yml index 27fa3aa..6305991 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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: diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml index 90daaa7..96458eb 100644 --- a/.github/workflows/bld.yml +++ b/.github/workflows/bld.yml @@ -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"