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

Merged #62 #65 #69 and added tests using gh-actions #83

Closed
wants to merge 70 commits into from

Conversation

GhostOps77
Copy link
Contributor

@GhostOps77 GhostOps77 commented Feb 2, 2023

I've did so many changes in this repo

I've merged all those PR's and gave some test cases, that run in pytest and tox
And that still give only 75% of coverage in pytest results, cuz some testing should be done by passing in command line arguments, which is impossible with this type of code structure

I tried my best to cover the test cases for each PR, but the code still needs some restructuring, which can maybe provide an opportunity to run command line argument tests in pytest

I've also made test cases for click v7.1.2 (cuz I saw that this module supports click v7)

Ignore the blank/auto name suggested commits, It's just me being lazy

GhostOps77 and others added 30 commits January 31, 2023 17:17
Added some badges
Added 3.7 - 3.11 python versions for tox
and 3.10, 3.11 for travis
	Added pytest gh-actions text:   .github/workflows/tests.yml
	modified:   .gitignore
	modified:   MANIFEST.in
	modified:   Makefile
	deleted:    bin/testrepl.py
	modified:   pyproject.toml
	new file:   requirements/requirements.txt
	new file:   requirements/requirements_dev.txt
	modified:   setup.cfg
	modified:   setup.py
	Moved Code to utils.py:   src/click_repl/__init__.py
	For mypy:   src/click_repl/py.typed
	Bumped actions version:   .github/workflows/tests.yml
	modified:   setup.cfg
	new file:   src/click_repl/exceptions.py
	new file:   src/click_repl/utils.py
	modified:   tox.ini
	Dropped click version to 7:   setup.cfg
	modified:   src/click_repl/__init__.py
	modified:   tests/test_basic.py
	modified:   tests/test_command_collection.py
	Added one more env for clickv7:   tox.ini
	removed flake8 test:   .github/workflows/tests.yml
	modified:   pyproject.toml
	improved code:   src/click_repl/utils.py
	conftest for pytest:   tests/conftest.py
	improved test cases:   tests/test_basic.py
	improved test cases:   tests/test_command_collection.py
	improved test cases:   tests/test_complete.py
	improved test cases:   tests/test_dev.py
	improved test cases:   tests/test_repl/test_repl.py
	modified:   tox.ini
	deleted:    click_repl/exceptions.py
	deleted:    click_repl/py.typed
	modified:   pyproject.toml
	modified:   setup.cfg
	modified:   tests/conftest.py
	deleted:    tests/test_argument.py
	modified:   tests/test_complete.py
	deleted:    tests/test_dev.py
	new file:   tests/test_dev/test_get_internal_cmds.py
	new file:   tests/test_dev/test_internal_cmds.py
	new file:   tests/test_dev/test_register_internal_cmds.py
	new file:   tests/test_dev/test_sys_cmds.py
	new file:   tests/test_repl.py
	deleted:    tests/test_repl/test_repl.py
	modified:   tests/test_dev/test_get_internal_cmds.py
	modified:   tests/test_dev/test_internal_cmds.py
	modified:   tests/test_dev/test_sys_cmds.py
	modified:   tests/test_repl.py
	modified:   requirements/requirements_dev.txt
	modified:   setup.cfg
	modified:   tox.ini
@auvipy auvipy self-requested a review February 2, 2023 14:19
Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be better and easier if this pr is split into smaller ones

@GhostOps77
Copy link
Contributor Author

GhostOps77 commented Feb 2, 2023

@auvipy
which means?
do i need to make separate branch for each changes?
there's no conflicts btw

@auvipy
Copy link
Collaborator

auvipy commented Feb 2, 2023

yes we can start with the new CI first

@auvipy
Copy link
Collaborator

auvipy commented Feb 3, 2023

you can pull from master

@GhostOps77 GhostOps77 closed this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants