Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

cleanup

cleanup #27

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./airy
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Dependencies
working-directory: ./airy
run: |
python -m pip install poetry
poetry install
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: |
cp airy/local_config_sample.py airy/local_config.py
poetry run flask run &
sleep 10 # ah yes totally a good way to wait for server to start mmhmm
npx playwright test
kill $(jobs -p)
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: airy/playwright-report/
retention-days: 30