Skip to content

Bump flask from 2.2.2 to 2.3.2 (#34) #92

Bump flask from 2.2.2 to 2.3.2 (#34)

Bump flask from 2.2.2 to 2.3.2 (#34) #92

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
precommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install python dependencies (prospector, etc.)
run: |
pip install -e .[dev]
pip freeze
- name: Run pre-commit
run:
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
dockertests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-chromedriver@master
#with:
# Optional: do not specify to match Chrome's version
#chromedriver-version: '88.0.4324.96'
- run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
- name: Install system dependencies
# remove occasionally problematic repositories we don't use anyway
run: |
sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list
sudo apt update
sudo apt install chromium-browser chromium-chromedriver
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install python dependencies (pytest, etc.)
run: |
pip install -e .[dev]
pip freeze
- name: Build the Docker image
run: ./admin-tools/build-docker.sh && ./admin-tools/run-docker.sh && ./.ci/wait-for-it.sh localhost:8090 -t 120 && sleep 5 && pytest --driver Chrome