chore: scheduled pip-compile #781
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: CI | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
run-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
sudo apt install graphviz | |
python -m pip install -U pip | |
pip install tox | |
- name: Run bandit test | |
run: tox -e bandit | |
- name: Run safety dependency scan | |
run: tox -e safety | |
- name: Run auto-tests | |
run: tox -e cov-ci | |
- name: Run static analysis | |
run: tox -e static | |
- name: Build documentation | |
run: tox -e docs | |
- name: Test fakefront image | |
run: | | |
docker build . -t fakefront -f support/fakefront/Containerfile | |
# sanity check that the image can load at least to the point of | |
# detecting incomplete config. | |
docker run fakefront 2>&1 | tee /dev/stderr | grep 'Must set EXODUS_AWS_ENDPOINT_URL' | |
- name: Publish documentation | |
if: ${{ success() }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.DOCS_TOKEN }} | |
run: scripts/push-docs | |
- name: Build package | |
run: tox -e package |