new header and logo #4
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, pull_request] | |
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 python3-virtualenv chromium-browser libgbm1 | |
make install | |
- name: DB setup | |
run: | | |
cp cres/db.sqlite standards_cache.sqlite | |
make migrate-upgrade | |
- name: Run app and e2e tests | |
run: | | |
yarn build | |
[ -d "./venv" ] && . ./venv/bin/activate | |
export FLASK_APP=./cre.py | |
export FLASK_CONFIG=development | |
export INSECURE_REQUESTS=1 | |
FLASK_CONFIG=development flask run & | |
sleep 20s | |
yarn test:e2e |