tests #155
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
# 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-latest | |
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 |