Skip to content

Merge pull request #1 from vikmaksymenko/main #12

Merge pull request #1 from vikmaksymenko/main

Merge pull request #1 from vikmaksymenko/main #12

Workflow file for this run

name: Run all tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out project
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Install Playwright Chromium browsers
run: playwright install --with-deps chromium
- name: Start the Bulldoggy app
run: uvicorn app.main:app &
- name: Wait 10s for Bulldoggy app to be ready
run: sleep 10s
- name: Execute tests
run: python3 -m pytest -s -v --browser chromium tests