Skip to content

Commit

Permalink
1.2.2 (2023-04-27)
Browse files Browse the repository at this point in the history
------------------
* [fix] dependencies
* [feat] actions
  • Loading branch information
vladimirs-git committed Apr 27, 2023
1 parent 3a82cb4 commit cb7b261
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 7 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run tests on push event
on:
push:
# triggered by a push event on the following branches
branches:
- main
# triggered by a tag that starts with "v"
tags:
- v*
# triggered by any pull requests
pull_request: ~

jobs:
run_tests:
runs-on: "ubuntu-20.04"
steps:
# checkout the code from the following branch
- uses: actions/checkout@main
# set up the Python 3.8 x64 environment on the virtual machine
- uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: x64
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests
run: pytest -v -m "not developing" tests
# - name: Tests report
# run: coverage report
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
CHANGELOG
=========

1.2.2 (2023-04-27)
------------------
* [fix] dependencies
* [feat] actions


1.2.1 (2023-04-26)
------------------
* [feat] FortigateAPI.ExternalResource
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ or install the package from github.com release

.. code:: bash
pip install https://github.com/vladimirs-git/fortigate-api/archive/refs/tags/1.2.1.tar.gz
pip install https://github.com/vladimirs-git/fortigate-api/archive/refs/tags/1.2.2.tar.gz
or install the package from github.com repository

Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "fortigate_api"
version = "1.2.1"
version = "1.2.2"
authors = [
{ name="Vladimir Prusakov", email="[email protected]" },
]
Expand All @@ -9,9 +9,9 @@ readme = "README.rst"
license = { text="MIT" }
requires-python = ">=3.8"
dependencies = [
"requests == 2.28.*",
"netmiko == 4.1.*",
"ciscoconfparse == 1.7.*",
"requests >= 2.28",
"netmiko >= 4.1",
"ciscoconfparse >= 1.7",
]
keywords = ["fortigate", "api", "fortios", "firewall", "networking", "telecommunication"]
classifiers = [
Expand All @@ -31,7 +31,7 @@ classifiers = [
"Homepage" = "https://github.com/vladimirs-git/fortigate-api"
"Repository" = "https://github.com/vladimirs-git/fortigate-api"
"Bug Tracker" = "https://github.com/vladimirs-git/fortigate-api/issues"
"Download URL" = "https://github.com/vladimirs-git/fortigate-api/archive/refs/tags/1.2.1.tar.gz"
"Download URL" = "https://github.com/vladimirs-git/fortigate-api/archive/refs/tags/1.2.2.tar.gz"
[tool.setuptools.packages.find]
include = ["fortigate_api"]
[tool.setuptools.package-data]
Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Tests."""
"""Tests."""

0 comments on commit cb7b261

Please sign in to comment.