Skip to content

refactor: update header layout and location string formatting close #250 #141

refactor: update header layout and location string formatting close #250

refactor: update header layout and location string formatting close #250 #141

Workflow file for this run

name: Python Testing 🐍
on:
push:
branches:
- development
pull_request:
branches:
- development
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build Clima
run: |-
pip install pipenv
pipenv install --dev
- name: Ruff Check
run: |-
pipenv run ruff check . --output-format=github
- name: Ruff Format (verify)
run: |-
pipenv run ruff format --check .
- name: Install Playwright Browsers
run: |
pipenv run playwright install chromium
- name: Start Clima
run: |-
pipenv run python main.py &
- name: Wait for Clima to be ready
run: |
timeout 60 bash -c 'until curl -f http://127.0.0.1:8080; do sleep 1; done'
- name: Test Clima
run: |-
cd tests
pipenv run pytest --base-url=http://127.0.0.1:8080 -vv