Files
devplacepy/.gitea/workflows/test.yaml
T
retoor 4a3d36f50a
DevPlace CI / test (push) Failing after 1m34s
Update
2026-05-11 07:05:08 +02:00

40 lines
888 B
YAML

name: DevPlace CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install -e .
pip install playwright
python -m playwright install chromium --with-deps
- name: Check code with hawk
run: |
pip install hawk
hawk . --python --js --css --html
- name: Run integration tests
run: |
python -m pytest tests/ -v --tb=line -x
- name: Upload test screenshots
if: failure()
uses: actions/upload-artifact@v4
with:
name: failure-screenshots
path: /tmp/devplace_test_screenshots/