-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.02 KB
/
integration-test.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
name: integration-test
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '8', '11' ]
scala: [ '2.11', '2.12' ]
spark: [ '2.4', '3.0', '3.1' ]
exclude:
- java: '11'
spark: '2.4'
- scala: '2.11'
spark: '3.0'
- scala: '2.11'
spark: '3.1'
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Run integration tests with Scala ${{ matrix.scala }} & Spark ${{ matrix.spark }}
run: mvn -B clean verify -Pscala-${{ matrix.scala }} -Pspark-${{ matrix.spark }}
- name: upload code coverage report
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: matrix.java == '8' && matrix.scala == '2.12' && matrix.spark == '3.1'
run: bash <(curl -s https://codecov.io/bash)