try sleep #844
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test-e2e | |
on: [push] | |
jobs: | |
build: | |
name: Test-e2e | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.4' | |
cache: 'pip' | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'yarn' | |
- name: Install python dependencies | |
run: sudo apt-get update && sudo apt-get install -y python3-setuptools python3-pip chromium-browser libgbm1 && make install-deps | |
- name: DB setup | |
run: | | |
make migrate-upgrade | |
- name: Run App in background | |
run: | | |
yarn build | |
[ -d "./venv" ] && . ./venv/bin/activate | |
export FLASK_APP=./cre.py | |
export FLASK_CONFIG=development | |
FLASK_CONFIG=development flask run & | |
sleep 20s | |
yarn test:e2e |