Skip to content

Commit

Permalink
objectionary#2251 trying to fix tests in sonar CI
Browse files Browse the repository at this point in the history
  • Loading branch information
c71n93 committed Feb 16, 2024
1 parent 8ab2ebe commit 4522c22
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,21 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- uses: teatimeguest/setup-texlive-action@v3.0.2
with:
update-all-packages: true
packages: scheme-basic geometry xcolor naive-ebnf microtype etoolbox
- uses: actions/setup-java@v4
with:
java-version: 20
distribution: 'zulu'
- uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
distribution: 'temurin'
- uses: actions/cache@v4
with:
path: ~/.m2
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- env:
CONVERT_PATH: /tmp/antlr4-to-bnf-converter
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn --batch-mode verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pjacoco -Dsonar.qualitygate.wait=true
run: mvn install -Pjacoco --batch-mode --errors && mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.qualitygate.wait=true --batch-mode --errors

0 comments on commit 4522c22

Please sign in to comment.