Skip to content

Commit bf72509

Browse files
committed
update publication workflow
1 parent 5780d5c commit bf72509

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,28 @@ jobs:
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

0 commit comments

Comments
 (0)