forked from delta-io/delta
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 847 Bytes
/
unity_test.yaml
File metadata and controls
30 lines (30 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Delta Unity"
on: [push, pull_request]
jobs:
test:
name: "Delta Unity Tests"
runs-on: ubuntu-24.04
env:
SCALA_VERSION: 2.12.18
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v4
id: git-diff
with:
PATTERNS: |
build.sbt
version.sbt
unity/**
kernel/**
storage/**
.github/workflows/unity_test.yaml
- name: install java
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "8"
if: steps.git-diff.outputs.diff
- name: Run Unity tests with coverage
run: |
./build/sbt "++ ${{ env.SCALA_VERSION }}" clean coverage unity/test coverageAggregate coverageOff -v
if: steps.git-diff.outputs.diff