Skip to content

Commit

Permalink
enable matrix-build to test more versions of solr
Browse files Browse the repository at this point in the history
  • Loading branch information
ja-fra committed Sep 12, 2024
1 parent 813b9bd commit e6ec89e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/maven-build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ jobs:
matrix:
solr:
- 9.0.0
- 9.1.1
- 9.2.1
- 9.3.0
- 9.4.1
- 9.5.0
- 9.6.1
- 9.7.0
include:
- solr: 9.7.0
sonar: enabled
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -61,7 +63,7 @@ jobs:
-Dsolr.version=${{matrix.solr}}
-Psonarcloud
-Dsonar.projectKey=redlink-gmbh_solr-advanced-suggester
-Dsonar.skip=${{ github.actor == 'dependabot[bot]' }}
-Dsonar.skip=${{ github.actor == 'dependabot[bot]' || matrix.sonar != 'enabled' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/maven-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
matrix:
solr:
- 9.0.0
- 9.1.1
- 9.2.1
- 9.3.0
- 9.4.1
- 9.5.0
- 9.6.1
- 9.7.0
include:
- solr: 9.7.0
sonar: enabled
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -44,7 +47,7 @@ jobs:
-Dsolr.version=${{matrix.solr}}
-Psonarcloud
-Dsonar.projectKey=redlink-gmbh_solr-advanced-suggester
-Dsonar.skip=${{ github.actor == 'dependabot[bot]' }}
-Dsonar.skip=${{ github.actor == 'dependabot[bot]' || matrix.sonar != 'enabled' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit e6ec89e

Please sign in to comment.