Skip to content

add-functionDefinitionsChecker #1

add-functionDefinitionsChecker

add-functionDefinitionsChecker #1

---
name: Config CI ApiTracing
on:
push:
branches:
- "main"
paths:
- 'plugins/apitracing/**.py'
- 'plugins/apitracing/configuration/functiondefinitions/*.{yml,yaml}'
pull_request:
branches:
- "main"
paths:
- 'plugins/apitracing/**.py'
- 'plugins/apitracing/configuration/functiondefinitions/*.{yml,yaml}'
jobs:
check_definitions:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.11 #install the python needed
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: execute py script
run: plugins/apitracing/tools/FunctionsDefinitionsChecker.py