Skip to content

Commit

Permalink
Remove Python 3.7 and run tests on current versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed Sep 19, 2024
1 parent 38f8036 commit 877684a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
key: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}


- name: Install Dependencies
run: poetry install

Expand All @@ -44,6 +43,8 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v2
- name: Start dev env
Expand Down Expand Up @@ -90,7 +91,7 @@ jobs:

- name: Build
run: poetry build

- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache-2.0"
"load_credentials" = "nornir_utils.plugins.inventory.transform_functions:load_credentials"

[tool.poetry.dependencies]
python = ">=3.7,<4.0"
python = ">=3.8,<4.0"
nornir = { version = "~3", allow-prereleases = true }
colorama = "^0.4.3"

Expand Down

0 comments on commit 877684a

Please sign in to comment.