Fixed broken SonarCloud-CI. (#1272)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -13,8 +13,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
- name: SonarCloud Scan
|
- name: Install dependencies
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
run: sudo apt-get install libpcap-dev libjson-c-dev libgcrypt20-dev
|
||||||
env:
|
- name: Configure
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
run: ./autogen.sh
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
- name: Build
|
||||||
|
run: make all
|
||||||
|
- name: Test
|
||||||
|
run: ./tests/do.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user