Skip to content

Commit

Permalink
Merge pull request #160 from jedie/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jedie authored Nov 1, 2023
2 parents 0ae5f45 + cc53e23 commit b7f2699
Show file tree
Hide file tree
Showing 7 changed files with 593 additions and 357 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout
run: |
echo $GITHUB_REF $GITHUB_SHA
git clone --depth 1 https://github.com/$GITHUB_REPOSITORY.git .
git clone https://github.com/$GITHUB_REPOSITORY.git .
git fetch origin $GITHUB_SHA:temporary-ci-branch
git checkout $GITHUB_SHA || (git fetch && git checkout $GITHUB_SHA)
Expand Down
473 changes: 343 additions & 130 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inventory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
:license: GNU GPL v3 or above, see LICENSE for more details.
"""

__version__ = '0.19.2'
__version__ = '0.19.3'
__author__ = 'Jens Diemer <PyInventory@jensdiemer.de>'
22 changes: 22 additions & 0 deletions inventory_project/tests/test_readme_history.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from unittest import TestCase

from bx_py_utils.auto_doc import assert_readme_block
from cli_base.cli_tools.git_history import get_git_history

import inventory
from manage import BASE_PATH


class ReadmeHistoryTestCase(TestCase):
def test_readme_history(self):
git_history = get_git_history(
current_version=inventory.__version__,
add_author=False,
)
history = '\n'.join(git_history)
assert_readme_block(
readme_path=BASE_PATH / 'README.md',
text_block=f'\n{history}\n',
start_marker_line='[comment]: <> (✂✂✂ auto generated history start ✂✂✂)',
end_marker_line='[comment]: <> (✂✂✂ auto generated history end ✂✂✂)',
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
]
[project.optional-dependencies]
dev = [
"manage_django_project>=0.6.0", # https://github.com/jedie/manage_django_project
"manage_django_project>=0.6.4", # https://github.com/jedie/manage_django_project

"cmd2_ext_test", # https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test
"playwright", # https://playwright.dev/python/docs/intro
Expand Down
255 changes: 128 additions & 127 deletions requirements.dev.txt

Large diffs are not rendered by default.

194 changes: 97 additions & 97 deletions requirements.txt

Large diffs are not rendered by default.

0 comments on commit b7f2699

Please sign in to comment.