This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
seanmcmamen #318
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: Scala CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Compile | |
run: sbt test:compile | |
- name: Unit test | |
run: sbt coverage test | |
- name: Running external dependencies (docker-compose) | |
run: | | |
docker-compose up -d | |
docker ps | |
- name: Integration test | |
run: sbt coverage it:test | |
- name: Compile coverage report | |
run: sbt coverageReport | |
- name: Upload coverage report | |
run: bash <(curl -s https://codecov.io/bash) | |
if: ${{ always() }} |