ninja-fix rename .asf.yml -> .asf.yaml #248
This file contains hidden or 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 trunk branch | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
scala: [2.12.19, 2.13.13] | |
db-version: [3.11.19, 4.0.17, 4.1.8, 5.0.4, dse-6.8.44] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install ccm via pip | |
# if cassandra-ccm's trunk breaks this CI, please file a report, | |
# and temporarily switch this to @cassandra-test or @<sha> where sha is the last known working ccm commit | |
run: pip install git+https://github.com/apache/cassandra-ccm.git@trunk | |
- 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 |