split lakectl cmds - part 2b #9003
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: Unit test Spark metadata client | |
on: | |
push: | |
paths: | |
- "clients/spark/**" | |
branches: | |
- master | |
pull_request: | |
jobs: | |
spark-metadata-client: | |
name: Unit test Spark metadata client | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt-hotspot' | |
java-version: '8' | |
cache: 'sbt' | |
- name: validate format | |
working-directory: clients/spark | |
run: sbt scalafmtCheck | |
- name: run tests, validate and package | |
working-directory: clients/spark | |
run: sbt test "scalafix --check" package |