Skip to content

Commit

Permalink
Updated ci to only run sonar for one of matrixes
Browse files Browse the repository at this point in the history
  • Loading branch information
morazow committed Sep 3, 2021
1 parent 4f92e67 commit bfc8bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Expand Up @@ -54,13 +54,13 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare for Sonar Cloud Scan
if: startsWith(matrix.exasol-docker-version, '7.1')
if: startsWith(matrix.exasol-docker-version, '7.1') && startsWith(matrix.spark, '3.1')
run: |
find . -name scoverage.xml -exec sed -i \
's#/home/runner/work/spark-exasol-connector/spark-exasol-connector#/github/workspace#g' {} +
- name: Sonar Cloud Scan
if: startsWith(matrix.exasol-docker-version, '7.1')
if: startsWith(matrix.exasol-docker-version, '7.1') && startsWith(matrix.spark, '3.1')
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bfc8bdc

Please sign in to comment.