SPARKC-710: Update component versions #198
Workflow file for this run
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
name: CI | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ b2.5, b3.0, master] | |
pull_request: | |
branches: [ b2.5, b3.0, master] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
scala: [2.12.19, 2.13.13] | |
db-version: [3.11.17, 4.0.12, 4.1.4, 5.0-beta1, dse-6.8.44] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ccm pip installation | |
uses: BSFishy/pip-action@v1 | |
with: | |
packages: git+https://github.com/riptano/ccm.git@d74db63d75112908a77b6c80757df9343fdc3338 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: | # order is important, the last one is the default which will be used by SBT | |
11 | |
8 | |
- name: sbt tests | |
env: | |
TEST_PARALLEL_TASKS: 1 | |
CCM_CASSANDRA_VERSION: ${{ matrix.db-version }} | |
PUBLISH_VERSION: test | |
JAVA8_HOME: ${{ env.JAVA_HOME_8_X64 }} | |
JAVA11_HOME: ${{ env.JAVA_HOME_11_X64 }} | |
run: sbt/sbt ++${{ matrix.scala }} test it:test | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: always() | |
with: | |
report_paths: '**/target/test-reports/*.xml' | |
annotate_only: true |