Reduce timeout on dependencies and return a degraded value when there is no access #1801
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: Delta App unit tests | |
on: | |
pull_request: | |
paths: | |
- 'delta/**' | |
- 'build.sbt' | |
- 'project/**' | |
- '.github/workflows/ci-delta-app.yml' | |
jobs: | |
run: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
cache: 'sbt' | |
check-latest: true | |
- name: Setup SBT | |
uses: sbt/setup-sbt@v1 | |
- name: Unit tests | |
run: | | |
sbt -Dsbt.color=always -Dsbt.supershell=false \ | |
clean \ | |
app-unit-tests-with-coverage |