rx (feature) Add Rx.tap, tapOn, tapOnFailure for adding side-effect #5030
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: Coverage | |
on: | |
pull_request: | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- '**/codecov.yml' | |
- '.scalafmt.conf' | |
- 'project/build.properties' | |
push: | |
branches: | |
- main | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- '**/codecov.yml' | |
- '.scalafmt.conf' | |
- 'project/build.properties' | |
jobs: | |
coverage: | |
name: Coverage test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Scala 2.13 test with coverage report | |
run: ./sbt "; coverage; projectJVM/test; projectJVM/coverageReport; projectJVM/coverageAggregate" | |
- uses: codecov/codecov-action@v3 | |
with: | |
name: airframe-coverage | |
file: ./projectJVM/target/scala-2.13/scoverage-report/scoverage.xml | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: code-coverage-report | |
path: ./projectJVM/target/scala-2.13/scoverage-report |