Skip to content

Commit

Permalink
Feature/test multiple sonar versions (#227)
Browse files Browse the repository at this point in the history
Introduce a matrix build in GitHub Workflows for ease of testing against multiple versions of SonarQube.

Configure testing against 8.9 LTS and 9.4 (newest at the time of writing)
  • Loading branch information
tomasz-niedzwiedz-wttech authored Apr 7, 2022
1 parent c523a0f commit 92a175f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-instalation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ on: [push]
jobs:
install_aem_rules_with_docker:
runs-on: ubuntu-latest
name: Install AEM Rules on SonarQube LTS with Docker
name: Install AEM Rules on SonarQube with Docker
strategy:
matrix:
sonarqube-image:
- 'sonarqube:8.9-community'
- 'sonarqube:9.4-community'
steps:
# To use this repository's private action,
# you must check out the repository
Expand All @@ -47,7 +52,7 @@ jobs:
- name: Install AEM Rules on SonarQube Server with Docker
uses: ./.github/actions/test-plugin-installation
with:
sonarqube-base-image: sonarqube:8.9-community
sonarqube-base-image: ${{ matrix.sonarqube-image }}
aem-rules-binary: ${{ steps.get-executable-name.outputs.aem_rules_jar_name }}
docker-hub-login: ${{ secrets.DOCKER_HUB_USERNAME }}
docker-hub-token: ${{ secrets.DOCKER_HUB_TOKEN }}

0 comments on commit 92a175f

Please sign in to comment.