Skip to content

Bump ruff from 0.4.1 to 0.4.2 in /02_mqtt-cluster #1536

Bump ruff from 0.4.1 to 0.4.2 in /02_mqtt-cluster

Bump ruff from 0.4.1 to 0.4.2 in /02_mqtt-cluster #1536

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: UNS Sparkplug B Decoder MQTT Client
on:
push:
branches:
- "**"
paths:
- "02_mqtt-cluster/**/*.py"
- "02_mqtt-cluster/pyproject.toml"
- "02_mqtt-cluster/poetry.lock"
- "05_sparkplugb/**/*.py"
- "05_sparkplugb/pyproject.toml"
- "05_sparkplugb/poetry.lock"
- "05_sparkplugb/Dockerfile"
- ".github/workflows/uns_sparkplugb-app.yml"
- ".github/include/**"
pull_request:
branches:
- "**"
paths:
- "02_mqtt-cluster/**/*.py"
- "02_mqtt-cluster/pyproject.toml"
- "02_mqtt-cluster/poetry.lock"
- "05_sparkplugb/**/*.py"
- "05_sparkplugb/pyproject.toml"
- "05_sparkplugb/poetry.lock"
- "05_sparkplugb/Dockerfile"
- ".github/workflows/uns_sparkplugb-app.yml"
- ".github/include/**"
permissions:
contents: read
jobs:
build_code:
runs-on: ubuntu-latest
env:
UNS_mqtt.host: "localhost"
UNS_mqtt.port: 1883
services:
uns_mqtt:
image: emqx/emqx:latest
ports:
- "1883:1883"
- "8083:8083"
steps:
- uses: actions/checkout@v4
- name: Setup with python environment
uses: ./.github/include/setup_python/
with:
module: 05_sparkplugb
- name: Run all type of tests
uses: ./.github/include/execute_tests/
with:
module: 05_sparkplugb
integration_tests: true
# pytest_flags: "-v"
build_docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Compile and Test Dockerfile
uses: ./.github/include/test_docker_builds/
with:
module: 05_sparkplugb
image_name: uns/spb_mapper