Skip to content

[6.12.z] Introduce new project code standards #686

[6.12.z] Introduce new project code standards

[6.12.z] Introduce new project code standards #686

Workflow file for this run

# CI stages to execute against Pull Requests
name: Airgun - CI
on:
pull_request:
types: ["opened", "synchronize", "reopened"]
env:
PYCURL_SSL_LIBRARY: openssl
jobs:
codechecks:
name: Code Quality
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']
steps:
- name: Checkout Airgun
uses: actions/checkout@v2
- name: Set Up Python-${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt update
pip install -U pip
pip install -U -r requirements.txt -r requirements-optional.txt
- name: Pre Commit Checks
uses: pre-commit/[email protected]
- name: Analysis (git diff)
if: failure()
run: git diff
- name: Docs Build
run: |
make docs-html