Skip to content

Commit 162fcdc

Browse files
committed
[XEN-3141] fix broken Sonarcloud setup
1 parent 7f88cef commit 162fcdc

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,13 @@ jobs:
3131
env:
3232
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3333
GITHUB_TOKEN: ${{ github.token }}
34-
run: ./gradlew aggregateJacocoReport sonarqube
35-
- name: Javadoc
36-
run: ./gradlew javadoc
34+
run: ./gradlew aggregateJacocoReport sonar --stacktrace
3735
integration-test:
3836
runs-on: ubuntu-latest
3937
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' || startsWith(github.ref, 'refs/tags/') }}
4038
strategy:
4139
matrix:
42-
flavour: [ "community" ]
43-
version: [ "231" ]
40+
edition: [ "community-231", "enterprise-251" ]
4441
steps:
4542
- uses: actions/checkout@v4
4643
with:
@@ -50,13 +47,13 @@ jobs:
5047
java-version: 17
5148
distribution: temurin
5249
- name: Test
53-
run: ./gradlew :integration-tests:alfresco-${{ matrix.flavour }}-${{ matrix.version }}:integrationTest -Prandom_ports=true
50+
run: ./gradlew :integration-tests:alfresco-${{ matrix.edition }}:integrationTest -Prandom_ports=true
5451
- name: Upload reports
5552
if: ${{ failure() }}
5653
uses: actions/upload-artifact@v4
5754
with:
58-
name: reports-integration-test-${{ matrix.flavour }}-${{ matrix.version }}
59-
path: integration-tests/alfresco-${{ matrix.flavour }}-${{ matrix.version }}/build/reports
55+
name: reports-integration-test-${{ matrix.edition }}
56+
path: integration-tests/alfresco-${{ matrix.edition }}/build/reports
6057
publish:
6158
needs: [test, integration-test]
6259
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)