mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-03 19:29:31 +00:00
When Python code changes, build C++ and run static analysis
This commit is contained in:
parent
8cb4105409
commit
37b9110c99
14
.github/workflows/cpp.yml
vendored
14
.github/workflows/cpp.yml
vendored
|
@ -1,23 +1,21 @@
|
||||||
name: C++ Tests/Analysis
|
name: C++ Tests; Full Static Analysis
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
paths:
|
branches:
|
||||||
- 'cpp/**'
|
- 'develop'
|
||||||
- '.github/workflows/cpp.yml'
|
- 'main'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'cpp/**'
|
- 'cpp/**'
|
||||||
|
- 'python/**'
|
||||||
- '.github/workflows/cpp.yml'
|
- '.github/workflows/cpp.yml'
|
||||||
types:
|
types:
|
||||||
- assigned
|
- assigned
|
||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
branches:
|
|
||||||
- 'develop'
|
|
||||||
- 'main'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
APT_PACKAGES: libspdlog-dev libpcap-dev libevdev2 libev-dev protobuf-compiler libgtest-dev libgmock-dev
|
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.coverage.exclusions="cpp/**/test/**"
|
||||||
--define sonar.cpd.exclusions="cpp/**/test/**"
|
--define sonar.cpd.exclusions="cpp/**/test/**"
|
||||||
--define sonar.inclusions="cpp/**,python/**"
|
--define sonar.inclusions="cpp/**,python/**"
|
||||||
--define sonar.python.version=3.7,3.9
|
--define sonar.python.version=3.9,3.11
|
||||||
|
|
Loading…
Reference in New Issue
Block a user