Bump pylint from 3.3.0 to 3.3.2 #138
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: [push] | |
jobs: | |
static-analisys: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U pip pipx | |
pipx install poetry==1.8.3 | |
poetry config virtualenvs.in-project true | |
poetry install | |
- name: Flake8 | |
run: make flake8 | |
- name: Mypy | |
run: make mypy | |
- name: Pylint | |
run: make pylint | |
build-and-compare: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [ "4.9.0", "4.10.0" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Create venv | |
run: | | |
python -m venv .venv | |
.venv/bin/python -m pip install --upgrade pip setuptools pyavd==${{ matrix.version }} | |
.venv/bin/python -m pip install . netaddr | |
- name: Install ansible.utils | |
run: .venv/bin/ansible-galaxy collection install ansible.utils | |
- name: Build fabric | |
run: | | |
.venv/bin/pyavd-build -i tests/data/single-dc-l3ls-fabric/inventory.yml -o intended-single-dc-l3ls-fabric -f FABRIC -v | |
- name: Store single-dc-l3ls-fabric intended configs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: single-dc-l3ls-fabric configs pyavd@${{ matrix.version }} | |
path: intended-single-dc-l3ls-fabric/ | |
- name: Compare with golden | |
run: diff --color -ry --suppress-common-lines tests/data/single-dc-l3ls-fabric/intended-golden-${{ matrix.version }} intended-single-dc-l3ls-fabric |