mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
ci: ekuiper codecov report
This commit is contained in:
@@ -127,7 +127,7 @@ jobs:
|
||||
container: ghcr.io/neugates/build:x86_64-main
|
||||
strategy:
|
||||
matrix:
|
||||
plugin: [core, modbus, mqtt, metrics]
|
||||
plugin: [core, ekuiper, modbus, mqtt, metrics]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -138,9 +138,8 @@ jobs:
|
||||
run: |
|
||||
if [ "${{ matrix.plugin }}" = "mqtt" ]; then
|
||||
sudo apt-get install -y mosquitto
|
||||
pip install -U gmqtt
|
||||
fi
|
||||
pip install -U pytest requests prometheus-client
|
||||
pip install -U pytest requests prometheus-client gmqtt pynng
|
||||
|
||||
- name: compile
|
||||
run: |
|
||||
@@ -153,9 +152,12 @@ jobs:
|
||||
run: |
|
||||
if [ "${{ matrix.plugin }}" = "core" ]; then
|
||||
pytest -s -v tests/ft \
|
||||
--ignore=tests/ft/app/test_ekuiper.py \
|
||||
--ignore=tests/ft/app/test_mqtt.py \
|
||||
--ignore=tests/ft/driver/test_modbus.py \
|
||||
--ignore=tests/ft/metrics/test_metrics.py
|
||||
elif [ "${{ matrix.plugin }}" = "ekuiper" ]; then
|
||||
pytest -s -v tests/ft/app/"test_ekuiper.py"
|
||||
elif [ "${{ matrix.plugin }}" = "modbus" ]; then
|
||||
pytest -s -v tests/ft/driver/"test_modbus.py"
|
||||
elif [ "${{ matrix.plugin }}" = "mqtt" ]; then
|
||||
|
||||
Reference in New Issue
Block a user