change the test method - using classLoader and manually load the classes #359
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: [ master ] | |
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: Run tests | |
run: sbt clean coverage test coverageReport | |
- name: Codacy Coverage Reporter | |
# You may pin to the exact commit or the version. | |
# uses: codacy/codacy-coverage-reporter-action@53ebfe140c89720a8234b8ea4fabaf6de5736092 | |
uses: codacy/codacy-coverage-reporter-action@0.2.0 | |
with: | |
# Project token for the Codacy project you want to send coverage information | |
project-token: 6c2a1614ee1a4445a9e6b4ed7e6e111f | |
# Optional comma separated list of coverage reports to send to Codac |