Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump infrahub-sdk to v1.2.0 #33

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: "Setup environment"
run: |
pipx install poetry
pip install invoke toml
pip install --upgrade invoke toml setuptools
- name: "Install Linters"
run: "poetry install --only=dev"
- name: "Linting"
Expand All @@ -32,27 +32,37 @@ jobs:
python-tests:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11"]
experimental: [false]
# Added experimental and python 3.12 due to upstream dependency in nornir.
# This should be fixed once they release 3.5.0: https://github.com/nornir-automation/nornir/pull/981
include:
- python-version: "3.12"
experimental: true
if: |
always() && !cancelled() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
needs: ["lint"]
runs-on: "ubuntu-latest"
timeout-minutes: 30
continue-on-error: ${{ matrix.experimental }}
steps:
- name: "Check out repository code"
uses: "actions/checkout@v3"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
id: python
with:
python-version: ${{ matrix.python-version }}
- name: "Setup environment"
run: |
pipx install poetry
pip install invoke toml
pip install --upgrade invoke toml setuptools
env:
PIPX_DEFAULT_PYTHON: ${{ steps.python.outputs.python-path }}
- name: "Install Nornir Infrahub"
run: "poetry install"
run: "poetry install --with=dev"
- name: "Pytest Tests"
run: "poetry run pytest -v tests/"

Expand Down
Loading
Loading