Skip to content

Exploring Node.js and Node-RED integration options #45

Exploring Node.js and Node-RED integration options

Exploring Node.js and Node-RED integration options #45

Workflow file for this run

name: Python CI
on:
push:
branches: [ "**" ] # Run on all branches
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
pip install pytest pytest-cov
- name: Run tests
run: |
pytest tests/ -v --cov=. --cov-report=term-missing