Skip to content

feat: added missing entities validations and tests #424

feat: added missing entities validations and tests

feat: added missing entities validations and tests #424

Workflow file for this run

name: ci
on:
pull_request:
workflow_dispatch:
jobs:
labeler:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Label the PR action
continue-on-error: true
uses: TimonVS/pr-labeler-action@v3
with:
configuration-path: .github/labeler.yml
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout / Setup JDK 11 / SBT-Cache
uses: rodobarcaaa/action-jdk-sbt-cache@main
with:
token: ${{ secrets.GH_PAT }}
- name: Scalafmt Check All
run: sbt +scalafmtCheckAll
sonar:
runs-on: ubuntu-latest
needs: [ linter ]

Check failure on line 34 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 34, Col: 14): Job 'sonar' depends on unknown job 'linter'.
timeout-minutes: 25
steps:
- name: Checkout / Setup JDK 11 / SBT-Cache
uses: rodobarcaaa/action-jdk-sbt-cache@main
with:
token: ${{ secrets.GH_PAT }}
- run: docker-compose -f docker-compose-test.yml up -d
- run: sbt -Dsonar.login=${{ secrets.SONAR_TOKEN }} sonar
- run: docker rm -f -v bookstore-db
- name: Tests report
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: Tests report
files: ./**/*Test.xml
- name: Coverage report
uses: 5monkeys/cobertura-action@master
with:
path: target/scala-2.13/coverage-report/cobertura.xml
minimum_coverage: 75
fail_below_threshold: true
show_class_names: true