Skip to content

Add dataclass support for documentation generation #3788

Add dataclass support for documentation generation

Add dataclass support for documentation generation #3788

Workflow file for this run

name: Gardener CICD Utils
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install \
-r requirements.txt \
-r requirements.oci.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --ignore=F722,F821
# exit-zero treats all errors as warnings.
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=101 --statistics
- name: Test with pytest
run: |
pip install pytest
echo $PYTHONPATH
export PYTHONPATH="$PWD"
pytest