-
Notifications
You must be signed in to change notification settings - Fork 923
51 lines (43 loc) · 1.38 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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/jacek-lewandowski/ccm.git@ab7852fc9d6ac883f4c3fd70e6f1afc40123c8a9
- 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