Skip to content

Fix unbalanced locks in test server for Nexus (#2341) #409

Fix unbalanced locks in test server for Nexus (#2341)

Fix unbalanced locks in test server for Nexus (#2341) #409

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- master
jobs:
code-coverage:
runs-on: ubuntu-latest-16-cores
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run Tests
run: ./gradlew test -x checkLicenseMain -x checkLicenses -x spotlessCheck -x spotlessApply -Pjacoco
continue-on-error: true
- name: Run Test Coverage
run: ./gradlew testCodeCoverageReport -Pjacoco
- name: Publish Coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: ./gradlew coverallsJacoco -Pjacoco