Add config endpoint [RHELDST-25037] #1218
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: 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: | | |
python -m pip install -U pip | |
pip install tox | |
- name: Build docker image | |
run: | | |
docker --version | |
docker build . -f openshift/containers/exodus-gw/Containerfile | |
- name: Run bandit test | |
run: tox -e bandit | |
- name: Run safety dependency scan | |
run: tox -e safety | |
- name: Run auto-tests | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: tox -e cov-ci | |
- name: Run static analysis | |
run: tox -e static | |
- name: Build documentation | |
run: tox -e docs | |
- name: Publish documentation | |
if: ${{ success() }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.DOCS_TOKEN }} | |
run: scripts/push-docs |