Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Jun 15, 2023
1 parent 2b7c987 commit 9f8aa16
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,28 @@ jobs:
java-version: '8'
distribution: 'temurin'
cache: 'sbt'
- name: Run tests & publish
run: sbt test publish
- name: Run tests & Coverage Report
run: sbt coverage test coverageReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
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
flags: unittests
fail_ci_if_error: true
verbose: true
- name: Publish
run: sbt publish

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
# cache: 'sbt'
- name: Formatting
run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck

0 comments on commit 9f8aa16

Please sign in to comment.