When Python code changes, build C++ and run static analysis

This commit is contained in:
Daniel Markstedt 2023-11-01 21:41:24 +09:00 committed by Daniel Markstedt
parent 8cb4105409
commit 37b9110c99
1 changed files with 6 additions and 8 deletions

View File

@ -1,23 +1,21 @@
name: C++ Tests/Analysis
name: C++ Tests; Full Static Analysis
on:
workflow_dispatch:
push:
paths:
- 'cpp/**'
- '.github/workflows/cpp.yml'
branches:
- 'develop'
- 'main'
pull_request:
paths:
- 'cpp/**'
- 'python/**'
- '.github/workflows/cpp.yml'
types:
- assigned
- opened
- synchronize
- reopened
branches:
- 'develop'
- 'main'
env:
APT_PACKAGES: libspdlog-dev libpcap-dev libevdev2 libev-dev protobuf-compiler libgtest-dev libgmock-dev
@ -118,4 +116,4 @@ jobs:
--define sonar.coverage.exclusions="cpp/**/test/**"
--define sonar.cpd.exclusions="cpp/**/test/**"
--define sonar.inclusions="cpp/**,python/**"
--define sonar.python.version=3.7,3.9
--define sonar.python.version=3.9,3.11