-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add CI workflow * Publish to testpypi on demand #testpypi
- Loading branch information
Showing
2 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U pip pipx | ||
pipx install poetry==1.7.1 | ||
poetry config virtualenvs.in-project true | ||
poetry install | ||
- name: Flake8 | ||
run: make flake8 | ||
- name: Mypy | ||
run: make mypy | ||
- name: Pylint | ||
run: make pylint | ||
- name: Build single-dc-l3ls-fabric | ||
run: poetry run 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 | ||
path: intended-single-dc-l3ls-fabric/ |
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