Skip to content

Commit

Permalink
continue debug of env paths
Browse files Browse the repository at this point in the history
  • Loading branch information
squinky86 committed Mar 3, 2021
1 parent 1369650 commit 078cab3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
env:
DISPLAY: :0
SONAR_SCANNER_VERSION: 4.4.0.2170
SONAR_SCANNER_HOME: $HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
SONAR_SCANNER_OPTS: -server

steps:
- name: Set SONAR_SCANNER_HOME
run: echo "SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux" >> $GITHUB_ENV
- name: Checkout Repo
uses: actions/checkout@v2
- name: update
Expand Down Expand Up @@ -64,6 +65,6 @@ jobs:
- name: Run gcov
run: for x in src/*.cpp; do LC_ALL=en gcov --branch-probabilities --branch-counts ${x} -o .; done
- name: Add Sonar Scanner to PATH
run: echo "$SONAR_SCANNER_HOME" && ls $SONAR_SCANNER_HOME && echo "$SONAR_SCANNER_HOME/bin" >> $GITHUB_PATH
run: echo "$SONAR_SCANNER_HOME/bin" >> $GITHUB_PATH
- name: Run Sonar Scanner
run: sonar-scanner -Dsonar.organization=squinky86 -Dsonar.projectKey=squinky86_STIGQter -Dsonar.sources=. -Dsonar.cfamily.build-wrapper-output=bw-output -Dsonar.host.url=https://sonarcloud.io

0 comments on commit 078cab3

Please sign in to comment.