-
Notifications
You must be signed in to change notification settings - Fork 65
44 lines (36 loc) · 895 Bytes
/
tests.yml
File metadata and controls
44 lines (36 loc) · 895 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Build and test datafu-spark code for the latest Scala/Spark combinations for the main branch and new PRs
name: "tests"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '36 3 * * 5'
jobs:
analyze:
name: Test
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Java 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'adopt'
cache: 'gradle'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
- name: Bootstrap Gradle 5.6.4
run:
gradle -b bootstrap.gradle
- name: Build and run tests
run:
./datafu-spark/build_and_test_spark.sh -q