Skip to content

feature: Support JDK21 release version (#3223) #5224

feature: Support JDK21 release version (#3223)

feature: Support JDK21 release version (#3223) #5224

Workflow file for this run

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@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Scala 2.13 test with coverage report
run: ./sbt "++ 2.13; coverage; projectJVM/test; projectJVM/coverageReport; projectJVM/coverageAggregate"
- uses: codecov/codecov-action@v3
with:
name: airframe-coverage
file: ./projectJVM/target/scoverage-report/scoverage.xml
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: ./projectJVM/target/scoverage-report