Skip to content

Add a dedicated worflow for the app module #6

Add a dedicated worflow for the app module

Add a dedicated worflow for the app module #6

Workflow file for this run

name: Delta App
on:
pull_request:
paths:
- 'delta/**'
- 'build.sbt'
- 'project/**'
- '.github/workflows/ci-delta-app.yml'
jobs:
static-analysis:
if: github.event_name == 'pull_request'
runs-on: it
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Static analysis
run: |
sbt -Dsbt.color=always -Dsbt.supershell=false \
"project app" \
clean \
app-static-analysis
unit-tests:
if: github.event_name == 'pull_request'
runs-on: it
timeout-minutes: 20
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Unit tests
run: |
sbt -Dsbt.color=always -Dsbt.supershell=false \
app-clean \
app-unit-tests-with-coverage