Bump org.scala-lang:scala-library from 2.12.12 to 2.13.12 #311
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: build | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: [main] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Install pip | |
run: | | |
sudo add-apt-repository universe | |
sudo apt-get update | |
sudo apt-get install -y python3-pip | |
- name: Install pySpark | |
run: | | |
pip3 install pyspark==3.3.0 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Cache Maven packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Run Tests with Maven | |
run: mvn -B scoverage:report --file pom.xml --fail-at-end | |
- name: Publish test coverage | |
uses: codecov/codecov-action@v1 |