Skip to content

Add e2e tests with playwrite browser automation #14

Add e2e tests with playwrite browser automation

Add e2e tests with playwrite browser automation #14

Workflow file for this run

name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: (Playbooks package) Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
cd python/packages/playbooks
poetry install
- name: (Playbooks package) Run linting
run: |
cd python/packages/playbooks
poetry run ruff check .
poetry run black --check .
- name: (Website API) Install dependencies
run: |
cd website/api
pip install -r requirements.txt
- name: (Website API) Run linting
run: |
cd website/api
ruff check .
black --check .