-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #603 from iKostanOrg/master
Merge from master
- Loading branch information
Showing
37 changed files
with
894 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
name: Codacy Coverage Reporter | ||
|
||
# Source: | ||
# https://github.com/codacy/codacy-coverage-reporter-action | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- 'master' | ||
workflow_call: | ||
|
||
jobs: | ||
codacy-coverage-reporter: | ||
runs-on: ubuntu-latest | ||
name: codacy-coverage-reporter | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Python | ||
uses: actions/setup-python@main | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install prerequisites | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install -r requirements.txt | ||
- name: Install pytest, pytest-cov | ||
run: | | ||
pip install pytest | ||
pip install pytest-cov | ||
- name: Generate coverage report | ||
# You must now upload using a token. | ||
# https://app.codecov.io/gh/iKostanOrg/codewars/tests/new | ||
# yamllint disable rule:line-length | ||
run: | | ||
python -c "import os; print(os.getcwd())" | ||
python -m pytest . -v --cov-report term-missing --cov-report=xml --cov=./ | ||
# yamllint enable rule:line-length | ||
- name: Run codacy-coverage-reporter | ||
run: | | ||
export CODACY_ORGANIZATION_PROVIDER=gh \ | ||
export CODACY_USERNAME=iKostanOrg \ | ||
export CODACY_PROJECT_NAME=codewars | ||
bash <(curl -Ls https://coverage.codacy.com/get.sh) report \ | ||
--api-token ${{ secrets.CODACY_API_TOKEN }} \ | ||
--language Python \ | ||
--coverage-reports /home/runner/work/codewars/codewars/coverage.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
kyu\_6.find\_the\_in\_between\_point.module package | ||
=================================================== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
kyu_6.find_the_in_between_point.readme | ||
kyu_6.find_the_in_between_point |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
README | ||
====== | ||
|
||
.. include:: ../../kyu_6/find_the_in_between_point/README.md | ||
:parser: myst_parser.sphinx_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
kyu\_6.find\_the\_in\_between\_point package | ||
============================================ | ||
|
||
Submodules | ||
---------- | ||
|
||
kyu\_6.find\_the\_in\_between\_point.solution module | ||
---------------------------------------------------- | ||
|
||
.. automodule:: kyu_6.find_the_in_between_point.solution | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
|
||
kyu\_6.find\_the\_in\_between\_point.test\_middle\_point module | ||
--------------------------------------------------------------- | ||
|
||
.. automodule:: kyu_6.find_the_in_between_point.test_middle_point | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: kyu_6.find_the_in_between_point | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
kyu\_7.pointless\_farmer.module package | ||
======================================= | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
kyu_7.pointless_farmer.readme | ||
kyu_7.pointless_farmer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
README | ||
====== | ||
|
||
.. include:: ../../kyu_7/pointless_farmer/README.md | ||
:parser: myst_parser.sphinx_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
kyu\_7.pointless\_farmer package | ||
================================ | ||
|
||
Submodules | ||
---------- | ||
|
||
kyu\_7.pointless\_farmer.solution module | ||
---------------------------------------- | ||
|
||
.. automodule:: kyu_7.pointless_farmer.solution | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
|
||
kyu\_7.pointless\_farmer.test\_buy\_or\_sell module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: kyu_7.pointless_farmer.test_buy_or_sell | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: kyu_7.pointless_farmer | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
kyu\_8.strange\_trip\_to\_the\_market.module package | ||
==================================================== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
kyu_8.strange_trip_to_the_market.readme | ||
kyu_8.strange_trip_to_the_market |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
README | ||
====== | ||
|
||
.. include:: ../../kyu_8/strange_trip_to_the_market/README.md | ||
:parser: myst_parser.sphinx_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
kyu\_8.strange\_trip\_to\_the\_market package | ||
============================================= | ||
|
||
Submodules | ||
---------- | ||
|
||
kyu\_8.strange\_trip\_to\_the\_market.solution module | ||
----------------------------------------------------- | ||
|
||
.. automodule:: kyu_8.strange_trip_to_the_market.solution | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
|
||
kyu\_8.strange\_trip\_to\_the\_market.test\_is\_loch\_ness\_monster module | ||
-------------------------------------------------------------------------- | ||
|
||
.. automodule:: kyu_8.strange_trip_to_the_market.test_is_loch_ness_monster | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: kyu_8.strange_trip_to_the_market | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:private-members: |
Oops, something went wrong.