Skip to content

Commit

Permalink
test: tics
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdcordeiro committed Dec 11, 2024
1 parent 4da3eb5 commit dd3825e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/tics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,24 @@ jobs:
- run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run TiCS analysis
- name: Run TiCS client analysis
uses: tiobe/tics-github-action@v3
if: github.event_name == 'pull_request'
with:
mode: 'client'
codetype: 'TESTCODE'
project: chisel
filelist: ${{ env.TICS_FILELIST }}
viewerUrl: 'https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default'
displayUrl: 'https://canonical.tiobe.com/tiobeweb/TICS'
installTics: true

- name: Run TiCS server analysis
uses: tiobe/tics-github-action@v3
if: github.event_name != 'pull_request'
with:
mode: ${{ github.event_name == 'pull_request' && 'client' || 'qserver' }}
codetype: ${{ github.event_name == 'pull_request' && 'TESTCODE' || 'PRODUCTION' }}
mode: 'qserver'
codetype: 'PRODUCTION'
project: chisel
branchdir: .
filelist: ${{ env.TICS_FILELIST }}
Expand Down

0 comments on commit dd3825e

Please sign in to comment.