Skip to content

Commit

Permalink
Add sonarqube & jacoco to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
fnonnenmacher committed Mar 23, 2020
1 parent 9f13a88 commit e15fd94
Show file tree
Hide file tree
Showing 8 changed files with 534 additions and 392 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: Corretto CI
name: Java CI
on:
push:
branches:
- master
- 'sonarqube'
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8', '11']
container: amazoncorretto:${{ matrix.java }}
java: ['8']
steps:
- name: Display Java and Linux version
run: java -version && cat /etc/system-release
- name: Install tar && gzip
run: yum install -y tar gzip
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
Expand All @@ -28,5 +26,9 @@ jobs:
key: ${{ runner.os }}-micronaut-core-wrapper-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-micronaut-core-wrapper-
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: unset HOSTNAME ; LANG=en_US.utf-8 LC_ALL=en_US.utf-8 ./gradlew check --no-daemon --parallel --continue
run: ./gradlew check sonarqube --no-daemon --parallel --continue -Dsonar.login=${{ secrets.SONAR_LOGIN }}
49 changes: 0 additions & 49 deletions .github/workflows/gradle.yml

This file was deleted.

87 changes: 0 additions & 87 deletions .github/workflows/release.yml.notworking

This file was deleted.

Loading

0 comments on commit e15fd94

Please sign in to comment.