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

PATCH: Test version of issues pipeline #344

Merged
merged 3 commits into from
Jun 17, 2024
Merged
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
6 changes: 5 additions & 1 deletion .github/workflows/todoon-issues-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
- name: Install UNSTABLE TODO-or-not from test.PyPi
run: |
python -m pip install --upgrade pip
python -m pip install -i https://test.pypi.org/simple/ todo-or-not - name: Generate GH Token for todoon app
python -m pip install typer==0.12.3
python -m pip install typing-extensions==4.10.0
python -m pip install tqdm==4.66.4
python -m pip install ply==3.11
python -m pip install -i https://test.pypi.org/simple/ todo-or-not --no-deps
- name: Generate GH Token for todoon app
id: generate-token
uses: actions/create-github-app-token@v1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "todo-or-not"
version = "0.13.9"
version = "0.13.12"
description = "todoon integrates the TODOs in your codebase with your GitHub repository"
authors = ["TrentonYo <trentonyo@gmail.com>"]
license = "GPL-3.0-only"
Expand Down
2 changes: 1 addition & 1 deletion todo_or_not/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
#####################################################

__version__ = "0.13.9"
__version__ = "0.13.12"
iso_string = "2024-06-16"

version_date = datetime.date.fromisoformat(iso_string)
18 changes: 9 additions & 9 deletions todo_or_not/todo_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,15 +647,15 @@ def todoon(
number_of_closed_issues
)

os.system(f'TODOON_STATUS={"finished"} >> $GITHUB_ENV')
os.system(f'TODOON_PROGRESS={"100.0"} >> $GITHUB_ENV')
os.system(f'TODOON_FILES_SCANNED={str(number_of_files_scanned)} >> $GITHUB_ENV')
os.system(f'TODOON_TODOS_FOUND={str(number_of_todo)} >> $GITHUB_ENV')
os.system(f'TODOON_FIXMES_FOUND={str(number_of_fixme)} >> $GITHUB_ENV')
os.system(f'TODOON_ENCODING_ERRORS={str(number_of_encoding_failures)} >> $GITHUB_ENV')
os.system(f'TODOON_ISSUES_GENERATED={str(number_of_issues)} >> $GITHUB_ENV')
os.system(f'TODOON_DUPLICATE_ISSUES_AVOIDED={str(number_of_duplicate_issues_avoided)} >> $GITHUB_ENV')
os.system(f'TODOON_DUPLICATE_CLOSED_ISSUES={str(number_of_closed_issues)} >> $GITHUB_ENV')
os.system(f'echo TODOON_STATUS={"finished"} >> $GITHUB_ENV')
os.system(f'echo TODOON_PROGRESS={"100.0"} >> $GITHUB_ENV')
os.system(f'echo TODOON_FILES_SCANNED={str(number_of_files_scanned)} >> $GITHUB_ENV')
os.system(f'echo TODOON_TODOS_FOUND={str(number_of_todo)} >> $GITHUB_ENV')
os.system(f'echo TODOON_FIXMES_FOUND={str(number_of_fixme)} >> $GITHUB_ENV')
os.system(f'echo TODOON_ENCODING_ERRORS={str(number_of_encoding_failures)} >> $GITHUB_ENV')
os.system(f'echo TODOON_ISSUES_GENERATED={str(number_of_issues)} >> $GITHUB_ENV')
os.system(f'echo TODOON_DUPLICATE_ISSUES_AVOIDED={str(number_of_duplicate_issues_avoided)} >> $GITHUB_ENV')
os.system(f'echo TODOON_DUPLICATE_CLOSED_ISSUES={str(number_of_closed_issues)} >> $GITHUB_ENV')

util.print_wrap(log_level=log_level, msg_level=util.LOG_LEVEL_SUMMARY_ONLY,
msg=summary, file=sys.stderr)
Expand Down
Loading