Skip to content

add ci

add ci #2

Workflow file for this run

name: ci
on:
pull_request:
branch: [main]
jobs:
tests:
name: tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Install playwright
run: python -m playwright install --with-deps firefox
- name: Run static test
run: ruff check
- name: Run unit and integration tests
run: python manage.py test app
- name: Run e2e tests
run: python manage.py test functional_tests