[CLEANUP]: Update PR Comment, with github-script #629
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: 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) |