Files
7000pctAUTO 7b949db9c3
Some checks failed
CI / test (push) Failing after 5s
fix: update workflow to cd into app directory
2026-01-31 01:48:07 +00:00

36 lines
646 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
cd app
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: |
cd app
pytest tests/ -v --tb=short
- name: Check code formatting
run: |
cd app
ruff check env_pro/