diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 7af3d9606..7b34e26f4 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -9,17 +9,14 @@ on: jobs: build: - name: Build & Deploy + name: Build on Linux & Deploy runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up GraalVM - uses: graalvm/setup-graalvm@v1 + - uses: actions/setup-java@v4 with: - java-version: '17.0.8' - distribution: 'graalvm-community' - github-token: ${{ secrets.GITHUB_TOKEN }} - set-java-home: true + distribution: 'temurin' + java-version: '17' - name: Build with Gradle run: ./gradlew build - name: Upload Release Assets @@ -71,7 +68,31 @@ jobs: accesskey: ${{ secrets.CQSE_TEAMSCALE_IO_ACCESSKEY }} partition: 'Coverage' format: 'JACOCO' - message: 'Coverage' + message: 'Linux Coverage' + files: '**/jacocoTestReport.xml' + + test-windows: + name: Test on Windows + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + - name: Build with Gradle + run: ./gradlew build + - name: Upload coverage to Teamscale + if: always() && github.event_name == 'push' + uses: cqse/teamscale-upload-action@v2.8.2 + with: + server: 'https://cqse.teamscale.io' + project: 'teamscale-jacoco-agent' + user: ${{ secrets.CQSE_TEAMSCALE_IO_USER }} + accesskey: ${{ secrets.CQSE_TEAMSCALE_IO_ACCESSKEY }} + partition: 'Coverage Windows' + format: 'JACOCO' + message: 'Coverage Windows' files: '**/jacocoTestReport.xml' docker: diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f6ceb4adf..a13200bf4 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -11,6 +11,9 @@ +