add test #589
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: CI | |
on: | |
push: | |
paths-ignore: | |
- '**/README.md' | |
- 'docs/**' | |
- 'front/**' | |
pull_request: | |
paths-ignore: | |
- '**/README.md' | |
- 'docs/**' | |
- 'front/**' | |
jobs: | |
test-and-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Chcek out | |
uses: actions/checkout@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Build, test and coverage report | |
run: sbt clean coverage test | |
- name: Upload coverage data to Coveralls | |
run: sbt coverageAggregate coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COVERALLS_FLAG_NAME: Scala ${{ matrix.scala }} | |