Files
drb-edge-node/.gitea/workflows/run-tests.yml
Logan Cusano 497cbccc80
Some checks failed
Python Application Tests / build (3.13) (pull_request) Failing after 53s
init testing
2025-12-29 19:18:13 -05:00

37 lines
978 B
YAML

name: Python Application Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.13"]
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
# Install test dependencies
pip install pytest pytest-asyncio httpx
# Install application dependencies (assuming you have a requirements.txt)
# If you don't have one, create it with `pip freeze > requirements.txt`
# For now, we'll install the dependencies we know are needed from context
pip install fastapi "uvicorn[standard]" paho-mqtt requests
- name: Test with pytest
run: |
pytest