chore: scheduled pip-compile #935
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@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- 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 |