Update .md qb-spark files #761
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: Test artifact | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
test-artifact: | |
runs-on: ubuntu-latest | |
env: | |
GHPR_TOKEN: ${{ secrets.GHPR_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Assembly | |
run: sbt assembly | |
- name: Lint | |
run: sbt "scalafixAll --check" | |
- name: Test | |
run: | | |
sbt coverage 'test' coverageReport | |
- name: Upload to Codecov | |
run: | | |
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step | |
curl -Os https://uploader.codecov.io/latest/linux/codecov | |
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM | |
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig | |
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM | |
shasum -a 256 -c codecov.SHA256SUM | |
chmod +x codecov | |
./codecov -t ${{ secrets.CODECOV_TOKEN }} | |
- name: Formatting of code and Scaladocs | |
run: sbt scalafmtSbtCheck doc |