Skip to content

Commit

Permalink
don't run tests for kernel changes
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonport-db committed May 23, 2023
1 parent 0d4547c commit bb781f6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Delta Lake Tests"
name: "Delta Spark Tests"
on: [push, pull_request]
jobs:
test:
Expand All @@ -10,6 +10,12 @@ jobs:
SCALA_VERSION: ${{ matrix.scala }}
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v4
id: git-diff
with:
PATTERNS: |
**
!kernel/**
- name: install java
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -49,7 +55,9 @@ jobs:
pipenv run pip install twine==4.0.1
pipenv run pip install wheel==0.33.4
pipenv run pip install setuptools==41.0.1
if: steps.git-diff.outputs.diff
- name: Run Scala/Java and Python tests
run: |
pipenv run python run-tests.py --coverage
cd examples/scala && build/sbt "++ $SCALA_VERSION compile"
if: steps.git-diff.outputs.diff

0 comments on commit bb781f6

Please sign in to comment.