Add note to publish locally after tagging #12
This file contains hidden or 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: Scala Coverage Testing | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ main, development ] | |
| push: | |
| branches: [ main, development ] | |
| jobs: | |
| coverage: | |
| timeout-minutes: 45 | |
| permissions: | |
| contents: read | |
| packages: read | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Set Up JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: temurin | |
| cache: sbt | |
| - name: Set Up SBT | |
| uses: sbt/setup-sbt@v1 | |
| - name: Coursier Caching | |
| uses: coursier/cache-action@v6 | |
| - name: Coverage For JVM projects only | |
| run: | | |
| sbt clean coverage \ | |
| utils/Test/compile language/Test/compile passes/Test/compile diagrams/Test/compile \ | |
| commands/Test/compile riddlc/Test/compile \ | |
| utils/test language/test passes/test diagrams/test commands/test riddlc/test \ | |
| coverageAggregate coveralls | |
| - name: Coverage Results Collection | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: code-coverage-report | |
| retention-days: 30 | |
| path: | | |
| **/jvm/target/scala-3.4.3/scoverage-report/scoverage.xml | |
| **/target/scala-3.4.3/scoverage-report/scoverage.xml | |
| target/scala-3.4.3/scoverage-report/scoverage.xml |