File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 3535 java-version : ' 8'
3636 distribution : ' temurin'
3737# cache: 'sbt'
38- - name : Run tests & publish
39- run : sbt test publish
38+ - name : Run tests & Coverage Report
39+ run : sbt coverage test coverageReport
40+ - name : Upload coverage to Codecov
41+ uses : codecov/codecov-action@v3
42+ with :
43+ files : common/target/scala-2.12/coverage-report/cobertura.xml,core/target/scala-2.12/coverage-report/cobertura.xml,teskit/target/scala-2.12/coverage-report/cobertura.xml
44+ flags : unittests
45+ fail_ci_if_error : true
46+ verbose : true
47+ - name : Publish
48+ run : sbt publish
49+
50+ lint :
51+ runs-on : ubuntu-latest
52+ steps :
53+ - name : Checkout
54+ uses : actions/checkout@v3
55+ - name : Set up JDK 8
56+ uses : actions/setup-java@v3
57+ with :
58+ java-version : ' 8'
59+ distribution : ' temurin'
60+ # cache: 'sbt'
61+ - name : Formatting
62+ run : sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck
You can’t perform that action at this time.
0 commit comments