From 81f1bd06790c7a69c672ec1490b06ad454bf1065 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 14 Oct 2019 22:28:50 -0700 Subject: [PATCH 001/178] Fix typo in README "Whats the different" -> "What's the difference" --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 67acedf1..14842d5d 100644 --- a/README.rst +++ b/README.rst @@ -107,7 +107,7 @@ See all the environment variables for `other CI providers Date: Tue, 12 Nov 2019 15:17:42 -0500 Subject: [PATCH 002/178] Add Azure Pipelines example --- azure-pipelines.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..c9ea4d44 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,34 @@ +# Azure Pipelines configuration + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' +strategy: + matrix: + Python35: + python.version: '3.5' + Python36: + python.version: '3.6' + Python37: + python.version: '3.7' + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + +- script: | + python -m pip install --upgrade pip + pip install coverage + displayName: 'Install coverage' + +- script: | + coverage run tests.py + displayName: 'Run tests' + +- script: | + bash <(curl -s https://codecov.io/bash) + displayName: 'Upload to codecov.io' From 4383dcca27dcea59445ac77aa4d14e88742738f6 Mon Sep 17 00:00:00 2001 From: Subhi Beidas Date: Tue, 24 Mar 2020 18:26:33 -0700 Subject: [PATCH 003/178] New commit --- time.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 time.txt diff --git a/time.txt b/time.txt new file mode 100644 index 00000000..6acf0a3e --- /dev/null +++ b/time.txt @@ -0,0 +1 @@ +1585099593 From 2d22fd02948c24f411009cbf4cfea732f9b7112f Mon Sep 17 00:00:00 2001 From: Subhi Beidas Date: Tue, 24 Mar 2020 18:27:09 -0700 Subject: [PATCH 004/178] New commit --- time.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time.txt b/time.txt index 6acf0a3e..fe1890f1 100644 --- a/time.txt +++ b/time.txt @@ -1 +1 @@ -1585099593 +1585099629 From 72b40c6651c5c079b5295eb7a989fb830018858b Mon Sep 17 00:00:00 2001 From: Subhi Beidas Date: Tue, 24 Mar 2020 18:50:03 -0700 Subject: [PATCH 005/178] New commit --- time.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time.txt b/time.txt index fe1890f1..a9f3b150 100644 --- a/time.txt +++ b/time.txt @@ -1 +1 @@ -1585099629 +1585101003 From 8d0dddf543361c3a406cf4d46bd6cb5fff8952d9 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Tue, 4 Aug 2020 19:02:21 -0400 Subject: [PATCH 006/178] Update README --- README.md | 72 +++++++++++++++++++++++ README.rst | 163 ----------------------------------------------------- 2 files changed, 72 insertions(+), 163 deletions(-) create mode 100644 README.md delete mode 100644 README.rst diff --git a/README.md b/README.md new file mode 100644 index 00000000..94bcadb4 --- /dev/null +++ b/README.md @@ -0,0 +1,72 @@ +# [Codecov](https://codecov.io) Python Example + +## Guide + +### Travis Setup + +Add the following to your `.travis.yml`: +```yml +language: + python +after_success: + - bash <(curl -s https://codecov.io/bash) +``` + +### Produce Coverage Reports +`coverage.py `_ is required to collect coverage metrics. + +Below are some examples on how to include coverage tracking during your tests. Codecov will call `coveragexml -i` automatically to generate the coverage xml output, which will be archived and processed server side. + +You may need to configure a ``.coveragerc`` file. Learn more `here `_. Start with this `generic .coveragerc `_ for example. + +We highly suggest adding `source` to your ``.coveragerc`` which solves a number of issues collecting coverage. + +```ini +[run] +source=your_package_name +``` +#### unittests +``` +pip install coverage +coverage run tests.py +``` +#### pytest +``` +ptest --cov=./ +``` +#### nosetests +``` +nosetest --with-coverage +``` +See the `Offical Nose coverage docs `_ for more information. + +### Testing with ``tox`` + +Codecov can be run from inside your ``tox.ini`` please make sure you pass all the necessary environment variables through: +```ini +[testenv] +passenv = CI TRAVIS TRAVIS_* +deps = codecov +commands = codecov +``` + +### FAQ +- Q: Whats the different between the codecov-bash and codecov-python uploader?
A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at `codecov/codecov-bash `_ and `codecov/codecov-python `_. +- Q: Why am I seeing `No data to report`?
A: This output is written by running the command ``coverage xml`` and states that there were no ``.coverage`` files found. + 1. Make sure coverage is enabled. See Enabling Coverage + 2. You may need to run `coverage combine` before running Codecov. + 3. Using Docker? Please follow this step: `Testing with Docker: Codecov Inside Docker `_. +- Q: Can I upload my ``.coverage`` files?
A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on ``coveragepy`` to handle this by calling ``coverage xml`` in the uploader. + +## Caveats +### Private Repo +Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending `-t ` to you where you upload reports. + +### Cobertura Reports +Cobertura reports can expire - Codecov will reject reports that are older than 12 hours. The logs contain details if a report expired. + +## Links +- [Community Boards](https://community.codecov.io) +- [Support](https://codecov.io/support) +- [Documentation](https://docs.codecov.io) + diff --git a/README.rst b/README.rst deleted file mode 100644 index 4acd89ec..00000000 --- a/README.rst +++ /dev/null @@ -1,163 +0,0 @@ -[Codecov] Python Example -========================= - -.. image:: https://codecov.io/gh/codecov/example-python/branch/master/graph/badge.svg - :target: https://codecov.io/gh/codecov/example-python - - -.. contents:: Topics - - -Overview --------- - - -website: `Codecov `_. - -.. code-block:: shell-session - - # 1) install codecov - pip install codecov - - # 2) next call "codecov" at end of CI build - # public repo using Travis, CircleCI or AppVeyor - codecov - - # all other CI and private repositories - codecov --token= - - -You can alternatively use the environment variables: - -+----------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ -| Argument | Environment | Description | -+==========+===================+====================================================================================================================================================+ -| ``-t`` | ``CODECOV_TOKEN`` | Private repo token for uploading | -+----------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``-e`` | ``CODECOV_ENV`` | List of config vars to store for the build | -+----------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``-F`` | | Flag this upload to group coverage reports. Ex. ``unittests`` or ``integration``. `Read the docs `_. | -+----------+-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ - - -How to generate coverage reports -================================ - -`coverage.py `_ is required to collect coverage metrics. - -Below are some examples on how to include coverage tracking during your tests. Codecov will call `coverage xml -i` automatically to generate the coverage xml output, which will be archived and processed server side. - -You may need to configure a ``.coveragerc`` file. Learn more `here `_. Start with this `generic .coveragerc `_ for example. - -We highly suggest adding ``source`` to your ``.coveragerc``, which solves a number of issues collecting coverage. - -.. code-block:: ini - - [run] - source=your_package_name - -If there are multiple sources, you instead should add ``include`` to your ``.coveragerc`` - -.. code-block:: ini - - [run] - include=your_package_name/* - -unittests ---------- - -.. code-block:: shell-session - - pip install coverage - coverage run tests.py - -pytest ------- - -.. code-block:: shell-session - - pip install pytest pytest-cov - pytest --cov=./ - -nosetests --------- - - -.. code-block:: shell-session - - nosetests --with-coverage - -See the `Offical Nose coverage docs `_ for more information. - -Testing with ``tox`` -==================== - -Codecov can be run from inside your ``tox.ini`` please make sure you pass all the necessary environment variables through: - -.. code-block:: ini - - [testenv] - passenv = CI TRAVIS TRAVIS_* - deps = codecov - commands = codecov - -See all the environment variables for `other CI providers `_. - - -------- - -Frequently Asked Questions -========================== - -Whats the different between the codecov-bash and codecov-python uploader? -------------------------------------------------------------------------- - -As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. - -Learn more at `codecov/codecov-bash `_ and `codecov/codecov-python `_. - - -Why am I seeing ``No data to report``? --------------------------------------- - -This output is written by running the command ``coverage xml`` and states that there were no ``.coverage`` files found. - -1. Make sure coverage is enabled. See Enabling Coverage -2. You may need to run ``coverage combine`` before running Codecov. -3. Using Docker? Please follow this step: `Testing with Docker `_. - -Can I upload my ``.coverage`` files? ------------------------------------- - -**No**, these files contain coverage data but are not properly mapped back to the source code. We rely on ``coveragepy`` to handle this by calling ``coverage xml`` in the uploader. - -How can I integrate with CI/CD providers? ------------------------------------------ - -Please see the documentation at our `Python repository `_ - - -How do I link to badges? ------------------------- - -Details on the badges and graphs can be found under `settings/Badge `_, for example the following RST can be used: - -.. code-block:: - - .. image:: https://codecov.io/gh/codecov/example-python/branch/master/graph/badge.svg - :target: https://codecov.io/gh/codecov/example-python - - -Which will generate: - -.. image:: https://codecov.io/gh/codecov/example-python/branch/master/graph/badge.svg - :target: https://codecov.io/gh/codecov/example-python - -Links -======= - -* Main website: `Codecov `_. -* Twitter: `@codecov `_. -* Email: `hello@codecov.io `_. - -We are happy to help if you have any questions. Please contact email our Support at `support@codecov.io `_. From e24088a41f66324811b26e9b1b85ddb766a0cd63 Mon Sep 17 00:00:00 2001 From: Mori Atsushi Date: Sun, 16 Aug 2020 23:11:20 +0900 Subject: [PATCH 007/178] [README] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e8fb874..ea350e43 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ coverage run tests.py ``` #### pytest ``` -ptest --cov=./ +pytest --cov=./ ``` #### nosetests ``` From 688bd92069854989f3c75472cbdf7f62f3917a26 Mon Sep 17 00:00:00 2001 From: fossabot Date: Wed, 26 Aug 2020 18:20:12 -0500 Subject: [PATCH 008/178] Add license scan report and status Signed off by: fossabot --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ea350e43..1951312e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # [Codecov](https://codecov.io) Python Example +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_shield) + ## Guide @@ -70,3 +72,7 @@ Cobertura reports can expire - Codecov will reject reports that are older than 1 - [Support](https://codecov.io/support) - [Documentation](https://docs.codecov.io) + + +## License +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large) \ No newline at end of file From 1057040284b4856612c359a0630610a4ea2da33b Mon Sep 17 00:00:00 2001 From: Jay Turner Date: Sun, 11 Oct 2020 11:11:52 +0100 Subject: [PATCH 009/178] pytest doesn't provide --cov by default Update the docs to explain how to use --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1951312e..72dabd8c 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ coverage run tests.py ``` #### pytest ``` +pip install pytest-cov pytest --cov=./ ``` #### nosetests @@ -75,4 +76,4 @@ Cobertura reports can expire - Codecov will reject reports that are older than 1 ## License -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large) From 3f73e68c2491e9e24c0c1136421e7b93403db9a8 Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Tue, 13 Oct 2020 20:32:08 -0300 Subject: [PATCH 010/178] docs(README): fix Markdown Fixed many broken links. --- README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1951312e..0bf30898 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,13 @@ after_success: ``` ### Produce Coverage Reports -`coverage.py `_ is required to collect coverage metrics. +[`coverage.py`](https://bitbucket.org/ned/coveragepy) is required to collect coverage metrics. Below are some examples on how to include coverage tracking during your tests. Codecov will call `coveragexml -i` automatically to generate the coverage xml output, which will be archived and processed server side. -You may need to configure a ``.coveragerc`` file. Learn more `here `_. Start with this `generic .coveragerc `_ for example. +You may need to configure a `.coveragerc` file. Learn more [here](http://coverage.readthedocs.org/en/latest/config.html>). Start with this [generic .coveragerc](https://gist.github.com/codecov-io/bf15bde2c7db1a011b6e>) for example. -We highly suggest adding `source` to your ``.coveragerc`` which solves a number of issues collecting coverage. +We highly suggest adding `source` to your `.coveragerc` which solves a number of issues collecting coverage. ```ini [run] @@ -40,11 +40,11 @@ pytest --cov=./ ``` nosetest --with-coverage ``` -See the `Offical Nose coverage docs `_ for more information. +See the [Offical Nose coverage docs](http://nose.readthedocs.org/en/latest/plugins/cover.html>) for more information. ### Testing with ``tox`` -Codecov can be run from inside your ``tox.ini`` please make sure you pass all the necessary environment variables through: +Codecov can be run from inside your `tox.ini` please make sure you pass all the necessary environment variables through: ```ini [testenv] passenv = CI TRAVIS TRAVIS_* @@ -53,12 +53,15 @@ commands = codecov ``` ### FAQ -- Q: What's the difference between the codecov-bash and codecov-python uploader?
A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at `codecov/codecov-bash `_ and `codecov/codecov-python `_. -- Q: Why am I seeing `No data to report`?
A: This output is written by running the command ``coverage xml`` and states that there were no ``.coverage`` files found. +- Q: What's the difference between the codecov-bash and codecov-python uploader? + A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at [codecov/codecov-bash](https://github.com/codecov/codecov-bash>) and [codecov/codecov-python](https://github.com/codecov/codecov-python>). +- Q: Why am I seeing `No data to report`? + A: This output is written by running the command `coverage xml` and states that there were no `.coverage` files found. 1. Make sure coverage is enabled. See Enabling Coverage 2. You may need to run `coverage combine` before running Codecov. - 3. Using Docker? Please follow this step: `Testing with Docker: Codecov Inside Docker `_. -- Q: Can I upload my ``.coverage`` files?
A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on ``coveragepy`` to handle this by calling ``coverage xml`` in the uploader. + 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://github.com/codecov/support/wiki/Testing-with-Docker#codecov-inside-docker>). +- Q: Can I upload my `.coverage` files? + A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on `coveragepy` to handle this by calling `coverage xml` in the uploader. ## Caveats ### Private Repo @@ -75,4 +78,4 @@ Cobertura reports can expire - Codecov will reject reports that are older than 1 ## License -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large) From 7105c46bdd48d30886ccd3483f23abbb5b6bcfb1 Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Tue, 13 Oct 2020 20:33:10 -0300 Subject: [PATCH 011/178] docs(README): fix indentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0bf30898..bebc7c89 100644 --- a/README.md +++ b/README.md @@ -53,14 +53,14 @@ commands = codecov ``` ### FAQ -- Q: What's the difference between the codecov-bash and codecov-python uploader? +- Q: What's the difference between the codecov-bash and codecov-python uploader? A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at [codecov/codecov-bash](https://github.com/codecov/codecov-bash>) and [codecov/codecov-python](https://github.com/codecov/codecov-python>). -- Q: Why am I seeing `No data to report`? +- Q: Why am I seeing `No data to report`? A: This output is written by running the command `coverage xml` and states that there were no `.coverage` files found. 1. Make sure coverage is enabled. See Enabling Coverage 2. You may need to run `coverage combine` before running Codecov. 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://github.com/codecov/support/wiki/Testing-with-Docker#codecov-inside-docker>). -- Q: Can I upload my `.coverage` files? +- Q: Can I upload my `.coverage` files? A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on `coveragepy` to handle this by calling `coverage xml` in the uploader. ## Caveats From 28873e279ec368f8702dd0931902efef588ae1ce Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Thu, 15 Oct 2020 23:56:57 -0300 Subject: [PATCH 012/178] docs(README): fix URLs Removed trailing `>`s, and corrected coverage.py address. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bebc7c89..57616527 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ after_success: ``` ### Produce Coverage Reports -[`coverage.py`](https://bitbucket.org/ned/coveragepy) is required to collect coverage metrics. +[coverage.py](https://github.com/nedbat/coveragepy) is required to collect coverage metrics. Below are some examples on how to include coverage tracking during your tests. Codecov will call `coveragexml -i` automatically to generate the coverage xml output, which will be archived and processed server side. -You may need to configure a `.coveragerc` file. Learn more [here](http://coverage.readthedocs.org/en/latest/config.html>). Start with this [generic .coveragerc](https://gist.github.com/codecov-io/bf15bde2c7db1a011b6e>) for example. +You may need to configure a `.coveragerc` file. Learn more [here](http://coverage.readthedocs.org/en/latest/config.html). Start with this [generic .coveragerc](https://gist.github.com/codecov-io/bf15bde2c7db1a011b6e) for example. We highly suggest adding `source` to your `.coveragerc` which solves a number of issues collecting coverage. @@ -40,7 +40,7 @@ pytest --cov=./ ``` nosetest --with-coverage ``` -See the [Offical Nose coverage docs](http://nose.readthedocs.org/en/latest/plugins/cover.html>) for more information. +See the [Offical Nose coverage docs](http://nose.readthedocs.org/en/latest/plugins/cover.html) for more information. ### Testing with ``tox`` @@ -54,12 +54,12 @@ commands = codecov ### FAQ - Q: What's the difference between the codecov-bash and codecov-python uploader? - A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at [codecov/codecov-bash](https://github.com/codecov/codecov-bash>) and [codecov/codecov-python](https://github.com/codecov/codecov-python>). + A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at [codecov/codecov-bash](https://github.com/codecov/codecov-bash) and [codecov/codecov-python](https://github.com/codecov/codecov-python). - Q: Why am I seeing `No data to report`? A: This output is written by running the command `coverage xml` and states that there were no `.coverage` files found. 1. Make sure coverage is enabled. See Enabling Coverage 2. You may need to run `coverage combine` before running Codecov. - 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://github.com/codecov/support/wiki/Testing-with-Docker#codecov-inside-docker>). + 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://github.com/codecov/support/wiki/Testing-with-Docker#codecov-inside-docker). - Q: Can I upload my `.coverage` files? A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on `coveragepy` to handle this by calling `coverage xml` in the uploader. From 3235bf268493fbce11c99e7e4e47e5c558cd9d51 Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Fri, 16 Oct 2020 13:09:18 -0300 Subject: [PATCH 013/178] docs(README): fix "Testing with Docker" URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57616527..eed7400e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ commands = codecov A: This output is written by running the command `coverage xml` and states that there were no `.coverage` files found. 1. Make sure coverage is enabled. See Enabling Coverage 2. You may need to run `coverage combine` before running Codecov. - 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://github.com/codecov/support/wiki/Testing-with-Docker#codecov-inside-docker). + 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://docs.codecov.io/docs/testing-with-docker#codecov-inside-docker). - Q: Can I upload my `.coverage` files? A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on `coveragepy` to handle this by calling `coverage xml` in the uploader. From 4c170c9c08b02ccfa37b0c8bee29834d062c86ce Mon Sep 17 00:00:00 2001 From: David Cain Date: Sat, 21 Nov 2020 15:01:51 -0800 Subject: [PATCH 014/178] Add GitHub Actions example, note no token needed The first line of the `codecov-action` README notes: > The latest release of this Action adds support for tokenless uploads > from GitHub Actions! With Travis CI changing its open source offerings, many projects will likely be switching to GitHub Actions. Add a brief example, and a link back to the repository's README. Also leave a note in the FAQ that tokens are not required if using the GitHub action. --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eed7400e..c34e8172 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,23 @@ ## Guide +### GitHub Actions +A minimal configuration for public repos: + +```yml +steps: + # (Other steps go here) + - name: "Upload coverage to Codecov" + uses: codecov/codecov-action@v1 + with: + fail_ci_if_error: true + verbose: true +``` + +See [codecov/codecov-action](https://github.com/codecov/codecov-action) for +more information, a [detailed example](https://github.com/codecov/codecov-action#example-workflowyml-with-codecov-action), +and other options. + ### Travis Setup Add the following to your `.travis.yml`: @@ -65,7 +82,9 @@ commands = codecov ## Caveats ### Private Repo -Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending `-t ` to you where you upload reports. +Repository tokens are required for (a) all private repos, (b) public repos not using the [Codecov GitHub Action][https://github.com/codecov/codecov-action], Travis CI, CircleCI or AppVeyor. + +Find your repository token at Codecov and provide via appending `-t ` to you where you upload reports. ### Cobertura Reports Cobertura reports can expire - Codecov will reject reports that are older than 12 hours. The logs contain details if a report expired. From 630ad34aab065e688f21a162d552d39ec810acd5 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 21:41:09 -0500 Subject: [PATCH 015/178] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c34e8172..18c46f58 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ commands = codecov ## Caveats ### Private Repo -Repository tokens are required for (a) all private repos, (b) public repos not using the [Codecov GitHub Action][https://github.com/codecov/codecov-action], Travis CI, CircleCI or AppVeyor. +Repository tokens are required for (a) all private repos, (b) public repos not using the GitHub Actions, Travis CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending `-t ` to you where you upload reports. From c4eb5daeef9cedccf1960f8f518d22cf99d3c0fa Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 9 Dec 2020 21:41:54 -0500 Subject: [PATCH 016/178] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 18c46f58..a61461b5 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ steps: uses: codecov/codecov-action@v1 with: fail_ci_if_error: true - verbose: true ``` See [codecov/codecov-action](https://github.com/codecov/codecov-action) for From 3802210c7bf62ddb968bee0510e5c1ab7b294ecf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 22:04:28 +0000 Subject: [PATCH 017/178] Upgrade to GitHub-native Dependabot --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..491deae0 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: pip + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 From ee65c169385c2039e6983c2bf28a29588ac70635 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:07:40 -0400 Subject: [PATCH 018/178] Migrate to GitHub Actions --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ .travis.yml | 20 -------------------- azure-pipelines.yml | 34 ---------------------------------- 3 files changed, 21 insertions(+), 54 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml delete mode 100644 azure-pipelines.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..d0171dcb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Workflow for Codecov example-python +on: [push, pull_request] +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Run tests and collect coverage + run: coverage run tests.py + - name: Download and validate Codecov uploader + run: | + curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step + curl -Os https://uploader.codecov.io/latest/linux/codecov + curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM + curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig + gpgv codecov.SHA256SUM.sig codecov.SHA256SUM + shasum -a 256 -c codecov.SHA256SUM + chmod +x codecov + - name: Upload coverage to Codecov + run: ./codecov diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a5342d85..00000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Disable sudo to speed up the build -sudo: false - -# Set the build language to Python -language: python - -# Set the python version to 2.7 -python: 2.7 - -# Install the codecov pip dependency -install: - - pip install codecov - -# Run the unit test -script: - - coverage run tests.py - -# Push the results back to codecov -after_success: - - codecov diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index c9ea4d44..00000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Azure Pipelines configuration - -trigger: -- master - -pool: - vmImage: 'ubuntu-latest' -strategy: - matrix: - Python35: - python.version: '3.5' - Python36: - python.version: '3.6' - Python37: - python.version: '3.7' - -steps: -- task: UsePythonVersion@0 - inputs: - versionSpec: '$(python.version)' - displayName: 'Use Python $(python.version)' - -- script: | - python -m pip install --upgrade pip - pip install coverage - displayName: 'Install coverage' - -- script: | - coverage run tests.py - displayName: 'Run tests' - -- script: | - bash <(curl -s https://codecov.io/bash) - displayName: 'Upload to codecov.io' From 63b7a3b40a6e93d71d81c8bbd5103cdf9467881a Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:10:35 -0400 Subject: [PATCH 019/178] pip-install --- .github/workflows/ci.yml | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0171dcb..f07e172e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Install dependencies + run: pip install -r requirements.txt - name: Run tests and collect coverage run: coverage run tests.py - name: Download and validate Codecov uploader diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..4ebc8aea --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +coverage From f65d4398c051c7cdcf8e0cd66a4b69560a6155a1 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:11:47 -0400 Subject: [PATCH 020/178] coverage xml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f07e172e..2d62043d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,9 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage - run: coverage run tests.py + run: | + coverage run tests.py + coverage xml - name: Download and validate Codecov uploader run: | curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step From 40349c660c8d3355f3587de7a583ee9ce867eb41 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:16:19 -0400 Subject: [PATCH 021/178] Add back in circleci --- .circleci/config.yml | 18 ++++++++++++++++++ .github/workflows/ci.yml | 11 +---------- 2 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..34ddb9c6 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,18 @@ +version: 2.1 +orbs: + codecov: codecov/codecov:3.0.0 +jobs: + build-and-test: + docker: + - image: cimg/python:3.9.6 + steps: + - checkout + - run: + name: Install dependencies + command: pip install -r requirements.txt + - run: + name: Run tests and collect coverage + run: | + coverage run tests.py + coverage xml + - codecov/upload diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d62043d..20a2edf0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,5 @@ jobs: run: | coverage run tests.py coverage xml - - name: Download and validate Codecov uploader - run: | - curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step - curl -Os https://uploader.codecov.io/latest/linux/codecov - curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM - curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig - gpgv codecov.SHA256SUM.sig codecov.SHA256SUM - shasum -a 256 -c codecov.SHA256SUM - chmod +x codecov - name: Upload coverage to Codecov - run: ./codecov + uses: codecov/codecov-action@v2 From 768007540236bcdd1a9e8f33bd7329cd2e1a5b3e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:18:51 -0400 Subject: [PATCH 022/178] Add circleci workflow --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34ddb9c6..d1acc797 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 orbs: codecov: codecov/codecov:3.0.0 jobs: - build-and-test: + build: docker: - image: cimg/python:3.9.6 steps: @@ -16,3 +16,9 @@ jobs: coverage run tests.py coverage xml - codecov/upload + +workflow: + version: 2.1 + build-test: + jobs: + - build From 235b0ab6d79110feb9a9c1e7d451c9cf49cd6632 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:20:21 -0400 Subject: [PATCH 023/178] typo --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d1acc797..9ea27537 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ version: 2.1 orbs: codecov: codecov/codecov:3.0.0 + jobs: build: docker: @@ -12,7 +13,7 @@ jobs: command: pip install -r requirements.txt - run: name: Run tests and collect coverage - run: | + command: | coverage run tests.py coverage xml - codecov/upload From 5ff35afc69fba0c074183a1bdb2252d68ff668c5 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 31 Aug 2021 12:22:07 -0400 Subject: [PATCH 024/178] codecov orb --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ea27537..edf6a031 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - codecov: codecov/codecov:3.0.0 + codecov: codecov/codecov@3.0.0 jobs: build: From e8b8aeb142a0b81668d6c1f0341ea00dca45a672 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Tue, 31 Aug 2021 13:04:43 -0400 Subject: [PATCH 025/178] Update .github/workflows/ci.yml Co-authored-by: Mitchell Borrego --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20a2edf0..433eac75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage From e861644f1483e37c2e6fedd5c3331c1f92ef2b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Lilleb=C3=B8=20Gundersen?= Date: Fri, 10 Sep 2021 09:43:19 +0200 Subject: [PATCH 026/178] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1689ef0..decb26d9 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,16 @@ ## Guide ### GitHub Actions -A minimal configuration for public repos: +A minimal configuration might look like: ```yml steps: # (Other steps go here) - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos ``` See [codecov/codecov-action](https://github.com/codecov/codecov-action) for From 658fbd763cd046abf94e6271e761b727bbcff707 Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Fri, 24 Sep 2021 13:59:47 +0100 Subject: [PATCH 027/178] pytest-cov needs --cov-report=xml --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index decb26d9..c9223973 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ coverage run tests.py #### pytest ``` pip install pytest-cov -pytest --cov=./ +pytest --cov=./ --cov-report=xml ``` #### nosetests ``` From 014eb573657a4ed62085df67adc2984ba3efe19f Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Fri, 24 Sep 2021 10:11:39 -0400 Subject: [PATCH 028/178] Update coverage xml instructions and remove Travis --- README.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index decb26d9..102ca034 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,10 @@ See [codecov/codecov-action](https://github.com/codecov/codecov-action) for more information, a [detailed example](https://github.com/codecov/codecov-action#example-workflowyml-with-codecov-action), and other options. -### Travis Setup - -Add the following to your `.travis.yml`: -```yml -language: - python -after_success: - - bash <(curl -s https://codecov.io/bash) -``` - ### Produce Coverage Reports [coverage.py](https://github.com/nedbat/coveragepy) is required to collect coverage metrics. -Below are some examples on how to include coverage tracking during your tests. Codecov will call `coveragexml -i` automatically to generate the coverage xml output, which will be archived and processed server side. +Below are some examples on how to include coverage tracking during your tests. You will need to call `coverage xml` to generate the coverage xml output, which will be archived and processed server side. You may need to configure a `.coveragerc` file. Learn more [here](http://coverage.readthedocs.org/en/latest/config.html). Start with this [generic .coveragerc](https://gist.github.com/codecov-io/bf15bde2c7db1a011b6e) for example. From a815c11c5c37a52da8ae55d2e1edb3469d643bf1 Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Fri, 1 Oct 2021 09:05:47 +0100 Subject: [PATCH 029/178] Coverage xml command to generate the right format --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c9223973..72f53201 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ source=your_package_name ``` pip install coverage coverage run tests.py +coverage xml ``` #### pytest ``` From da7fb8db88a9266469f81019fbeb66f7e4d080fe Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 7 Jun 2022 12:50:31 -0400 Subject: [PATCH 030/178] fix: simplify repository and update deps --- .circleci/config.yml | 8 +- .coverage | Bin 0 -> 53248 bytes .github/workflows/ci.yml | 10 +-- README.md | 82 +----------------- app/__init__.py | 0 app/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 156 bytes app/__pycache__/calculator.cpython-39.pyc | Bin 0 -> 847 bytes ...est_calculator.cpython-39-pytest-7.1.1.pyc | Bin 0 -> 6865 bytes app/calculator.py | 14 +++ app/test_calculator.py | 31 +++++++ awesome/__init__.py | 5 -- requirements.txt | 2 +- tests.py | 6 ++ time.txt | 1 - 14 files changed, 62 insertions(+), 97 deletions(-) create mode 100644 .coverage create mode 100644 app/__init__.py create mode 100644 app/__pycache__/__init__.cpython-39.pyc create mode 100644 app/__pycache__/calculator.cpython-39.pyc create mode 100644 app/__pycache__/test_calculator.cpython-39-pytest-7.1.1.pyc create mode 100644 app/calculator.py create mode 100644 app/test_calculator.py delete mode 100644 awesome/__init__.py delete mode 100644 time.txt diff --git a/.circleci/config.yml b/.circleci/config.yml index edf6a031..a01741de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,11 @@ version: 2.1 orbs: - codecov: codecov/codecov@3.0.0 + codecov: codecov/codecov@3 jobs: build: docker: - - image: cimg/python:3.9.6 + - image: cimg/python:3.10 steps: - checkout - run: @@ -13,9 +13,7 @@ jobs: command: pip install -r requirements.txt - run: name: Run tests and collect coverage - command: | - coverage run tests.py - coverage xml + command: pytest --cov app - codecov/upload workflow: diff --git a/.coverage b/.coverage new file mode 100644 index 0000000000000000000000000000000000000000..ba4884385e1231fc4ea1610a57087af2776f00ef GIT binary patch literal 53248 zcmeI)+i%-c90zba&XT5W@KC9uQB^%+LRqz@X*$@%cz^;G42IA~xkv~+Cpl@nId99L9Tc~uBSQ3~`d(led%G?Psi=v^I{A2nN0mOpyCsDG$T z=e||+&x#-GmFe$`)u~^mw+i1({gA&}uxSG(2tWV=5P(1=(7QC9FP%7{-uxmk>$VI$ zvmw3swfOqw^|g(4v9b2r#dQ&{6Q?ExO_hpR6P|lRbfqU+mMw+lG_8giSk9&h+A<9t z`m)JKJX%M`JPx=V#pgN0YErB~Zc-9m&+3@oj<_awmZAX3-U7KD#49KfX>B?jLYzvX zFA7h#q$iz*^y6HdvYLyNi?_a<%$H_n)Y~#Dlj$|+F*Q^gTG21cg%%~$aJ?qyzV4Y$ zqb>a2l>zjCjX^J1XX=xPhA# z_L1x6fV%9Lcc?m3a<0)hR_IvQL%CP^OQIihDJq8JE(tCKwSecRa;2AMRE1il-1e{A z^ufz8!@!M}4XS*jMlaJ}Jw1^xEi9W}dPLLV?W5Zb_mbg8 z!oA40h1-g{496C6@(FA!}PeL2{#EyIent7jWbJm5Ov$F54W|b#rTps2#p14 zuvX|axU2YFhK9Q(J#$koCtKrT;Yl|nYC5$-uC%@|s_E=C0i(7zJJ~yt%a`Wn)SHE< z86~xqyyb_QP+F4*45R6$jx_zyO9zsN4U%b${wSIDkz@-Mr;^W=*5*bPCkbcNl9`EK zKASJi&Z@n*NAS4B&tpS{;5Gd&@W6rK(X-z*gSOb8cV0~yFCWX5UY;G5an6EKuwlC?Uxs$ z=E=vNetzQw`pc<3g<6b)Q}?DF`RCIGQEr<)4?ccb)Lqw>rV}3$DBuO3c4he@+V%c} z(JTEl{2fkXbE_O>B|WC_=)OUHE$vn`)9IK_GdWE0(Kk+&hJ5amyq|dNpopSOebJ|$ z`9PX!qRCbssM7S8yF|gMcFbnn%egKFQoPZY`;vQR&uDX{ zuj$VzboKuly{vwRf|<`9mhO|NK9*p6%&{!)0sW{2%xKLlcJp1Rwwb2tWV=5P$## zAOHafjJ1HKYD$r>|Eu~x3Oz7E00Izz00bZa0SG_<0uX=z1RyYm0-9DV#Q*=ltLT60 zzw39$u#hMc1Rwwb2tWV=5P$##AOHafK;Wnd-G7g%*+Su| zO#J`lgZK-0MYe- z<@gwv8AXEt1Rwwb2tWV=5P$##AOHafKtSQ^|2Y3gLx2DTAOHafKmY;|fB*y_009V$ zw?O>=|NH#=|G)J6<6Tyi4gwH>00bZa0SG_<0uX=z1R!u^1T>BA`mbg9h426WA1KxI A&j0`b literal 0 HcmV?d00001 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 433eac75..1f2ce3e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,15 +6,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: 3.10 - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage - run: | - coverage run tests.py - coverage xml + run: pytest --cov app - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 diff --git a/README.md b/README.md index 102ca034..f0cd0020 100644 --- a/README.md +++ b/README.md @@ -1,91 +1,15 @@ # [Codecov](https://codecov.io) Python Example [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_shield) - -## Guide - -### GitHub Actions -A minimal configuration might look like: - -```yml -steps: - # (Other steps go here) - - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v2 - with: - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos -``` - -See [codecov/codecov-action](https://github.com/codecov/codecov-action) for -more information, a [detailed example](https://github.com/codecov/codecov-action#example-workflowyml-with-codecov-action), -and other options. - -### Produce Coverage Reports -[coverage.py](https://github.com/nedbat/coveragepy) is required to collect coverage metrics. - -Below are some examples on how to include coverage tracking during your tests. You will need to call `coverage xml` to generate the coverage xml output, which will be archived and processed server side. - -You may need to configure a `.coveragerc` file. Learn more [here](http://coverage.readthedocs.org/en/latest/config.html). Start with this [generic .coveragerc](https://gist.github.com/codecov-io/bf15bde2c7db1a011b6e) for example. - -We highly suggest adding `source` to your `.coveragerc` which solves a number of issues collecting coverage. - -```ini -[run] -source=your_package_name -``` -#### unittests -``` -pip install coverage -coverage run tests.py -``` -#### pytest -``` -pip install pytest-cov -pytest --cov=./ -``` -#### nosetests -``` -nosetest --with-coverage -``` -See the [Offical Nose coverage docs](http://nose.readthedocs.org/en/latest/plugins/cover.html) for more information. - -### Testing with ``tox`` - -Codecov can be run from inside your `tox.ini` please make sure you pass all the necessary environment variables through: -```ini -[testenv] -passenv = CI TRAVIS TRAVIS_* -deps = codecov -commands = codecov -``` - -### FAQ -- Q: What's the difference between the codecov-bash and codecov-python uploader? - A: As far as python is concerned, *nothing*. You may choose to use either uploader. Codecov recommends **using the bash uploader when possible** as it supports more unique repository setups. Learn more at [codecov/codecov-bash](https://github.com/codecov/codecov-bash) and [codecov/codecov-python](https://github.com/codecov/codecov-python). -- Q: Why am I seeing `No data to report`? - A: This output is written by running the command `coverage xml` and states that there were no `.coverage` files found. - 1. Make sure coverage is enabled. See Enabling Coverage - 2. You may need to run `coverage combine` before running Codecov. - 3. Using Docker? Please follow this step: [Testing with Docker: Codecov Inside Docker](https://docs.codecov.io/docs/testing-with-docker#codecov-inside-docker). -- Q: Can I upload my `.coverage` files? - A: **No**, these files contain coverage data but are not properly mapped back to the source code. We rely on `coveragepy` to handle this by calling `coverage xml` in the uploader. - -## Caveats -### Private Repo -Repository tokens are required for (a) all private repos, (b) public repos not using the GitHub Actions, Travis CI, CircleCI or AppVeyor. - -Find your repository token at Codecov and provide via appending `-t ` to you where you upload reports. - -### Cobertura Reports -Cobertura reports can expire - Codecov will reject reports that are older than 12 hours. The logs contain details if a report expired. +This example repository shows how Codecov can be integrated with a simple python project. For more information, please see the links below. ## Links +- [Quick Start](https://docs.codecov.com/docs/quick-start) +- [GitHub Tutorial](https://docs.codecov.com/docs/github-tutorial) - [Community Boards](https://community.codecov.io) - [Support](https://codecov.io/support) - [Documentation](https://docs.codecov.io) - ## License [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large) diff --git a/app/__init__.py b/app/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app/__pycache__/__init__.cpython-39.pyc b/app/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d38e9303242a3ef5844b450b7f588ff3c8088526 GIT binary patch literal 156 zcmYe~<>g`k0+y2bNg(<$h(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6vJKeRZts93)w zBR@B>IHOd*xF}gaJ+maEG)X@>KP5Fezf3>1A~ClhCsntg5~wOqKe3=dKR!M)FS8^* YUaz3?7Kcr4eoARhsvXGa&p^xo0Px-=zyJUM literal 0 HcmV?d00001 diff --git a/app/__pycache__/calculator.cpython-39.pyc b/app/__pycache__/calculator.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a39eb26ff2eadb44dc1d9b3cde0bd3441130830f GIT binary patch literal 847 zcma)4y-veG4E7~yo0fvak3=Pwu9blB00@veuysK!U7~9o(Tb!AcL^d@H~JpTeH!+x zOl(MOOxTH9f&>Cb{yW?E`5ep5%@z!*<^0AARsl1a`5vECtZ2?!__#E-@h(71x0 z>CyQ&GRV6i)`ui~7z%`;fdY*M3{5oAB5h#}>!fSgK$~j<<$CjWU>R>W-UtGirmxfptvSz%XztO; z0ipM-!7GJfw$qo>X_Rzvaz8=8JIcBzHyi+XJO6za^)h{f(sZ4Zg)J;G+pbKb%oy|< zx$U}B8Tzi9w_G=jFb&vlyY5{ogEFG{m8!{tmt3`3taqfe_$Me@d|)nC%NDlDUvWC< Si9-KWmfNQ#?its<6T>ISouL^3 literal 0 HcmV?d00001 diff --git a/app/__pycache__/test_calculator.cpython-39-pytest-7.1.1.pyc b/app/__pycache__/test_calculator.cpython-39-pytest-7.1.1.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7e1f15b775707b2bc81783f8552ced0f5f5822de GIT binary patch literal 6865 zcmd^DOK%%h6rPvu@%WWTTT-5;&{9Ji$9c7t2n{Moh(#AvMa4q0CcaK$@JsiOLmg%$ zL|L$mSR>I$EXW4&3lJ-W5DONpW`U4cKsKmLlojXPxigt@>N-s*Rf?^9=Dz06`R>d) z-#ORJWDE&@ci0z8^O_|6j*ak7fyN>f_9h4-5xF6iWqwtfsv^l!Q!B@0i6}&E#G8q7 z0_qxxeIk{05+@0`CW%gxa5acQQgBTX`I=NnZ^L@h)omGML3WKRW~16|m{yxsalrp& zppt}g1q!>PN|GhLCp(~qBNN3@Y{`~w<(A^8M0GSHC7K;umPriz zmz7P8#4YW1Y*Sj3*jq3jx1>#(z6-Sk)>;aTL*0ftzslmOh^s2D+NMkrpT|!~P8^}x z@wyE4gr&n>NjtGA-;zIuEz%?hiws49qC$x|n$X_>{ZoVW-;h}gR=WoRm@xq}IED?G zovf67kUDX59o z)c_mGaT`gH5i)8gxQ(QRjid+Ihz>TAgrY$)oD`A3QH))s=!3RVtU!UEzPKgtC<_Y( zdHveyvz^|>0y91omHa{;Ytw!gR7BTQflZo(7|vOoFk4{f_{{kND;Q3G!Mm?iDliIe zM%s$IYNt1aVj9J48N@t_i)F3TE0uO~CSx^f@kL5A1?FP+%pY7s>CRJ0WQoGq{m@U(Sk*$oI z!Y6o}S_(I2!i~9be|E#Se!4W&_6PH0g7c$i`?|1w@Dv02F^;zH!~_xr{IVSJ%ex#87=Qt9hEN!L zSsrE}FZvvL?hr`8kCL>V$_b1?-o7@1qNrCmJ1^Z{5ENA}{9{W>ti4>Co z8Uq1D`VMm9{)wM;mn>>lt-xt}CQzJ2 z@i>YnP&^5uFhZZk`ZFl2pDsAnh4%f@sar=kdnVD9)gG0mWGq z1r#r$Kt}e&IjFfA&Zxf1xU~$oR+4`NQvDhJ-^+9g+7V)Xlv7SM;^=ni6jEj&n4^$# zVzL%Rkq+E7qBt5UCk6%4l(Qej(MmbhNXnTVnsVkIP|7(XQqEDJwS%Xe<6+X_Zdj1c zeY*W-7m}q;qc@mz0=JJTC+8fxO8}hikO1f;ijecqAHeyClsT~T_t)63^QTXt;&*k* z{!&OT{khIG^!;yK@}qbP*ze4a$|+zpPs{cZ%TaL2xgZa?-&4Sm2jr4Rg-aeItk2UR;z90y@m5jz5EpS)_$U}{|G%$ z?Vv6??yYbr2c6>^`ta!(VlU_g%M|zXA_5rP1a1a)hG(B=R6U{Vdg32r CQjXpL literal 0 HcmV?d00001 diff --git a/app/calculator.py b/app/calculator.py new file mode 100644 index 00000000..ab6c338e --- /dev/null +++ b/app/calculator.py @@ -0,0 +1,14 @@ +class Calculator: + def add(x, y): + return x + y + + def subtract(x, y): + return x - y + + def multiply(x, y): + return x * y + + def divide(x, y): + if y == 0: + return 'Cannot divide by 0' + return x * 1.0 / y diff --git a/app/test_calculator.py b/app/test_calculator.py new file mode 100644 index 00000000..cfdfd5ec --- /dev/null +++ b/app/test_calculator.py @@ -0,0 +1,31 @@ +from .calculator import Calculator + + +def test_add(): + assert Calculator.add(1, 2) == 3.0 + assert Calculator.add(1.0, 2.0) == 3.0 + assert Calculator.add(0, 2.0) == 2.0 + assert Calculator.add(2.0, 0) == 2.0 + assert Calculator.add(-4, 2.0) == -2.0 + +def test_subtract(): + assert Calculator.subtract(1, 2) == -1.0 + assert Calculator.subtract(2, 1) == 1.0 + assert Calculator.subtract(1.0, 2.0) == -1.0 + assert Calculator.subtract(0, 2.0) == -2.0 + assert Calculator.subtract(2.0, 0.0) == 2.0 + assert Calculator.subtract(-4, 2.0) == -6.0 + +def test_multiply(): + assert Calculator.multiply(1, 2) == 2.0 + assert Calculator.multiply(1.0, 2.0) == 2.0 + assert Calculator.multiply(0, 2.0) == 0.0 + assert Calculator.multiply(2.0, 0.0) == 0.0 + assert Calculator.multiply(-4, 2.0) == -8.0 + +def test_divide(): + assert Calculator.divide(1, 2) == 0.5 + assert Calculator.divide(1.0, 2.0) == 0.5 + assert Calculator.divide(0, 2.0) == 0 + assert Calculator.divide(2.0, 0.0) == 'Cannot divide by 0' + assert Calculator.divide(-4, 2.0) == -2.0 diff --git a/awesome/__init__.py b/awesome/__init__.py deleted file mode 100644 index 4d34acc6..00000000 --- a/awesome/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -def smile(): - return ":)" - -def frown(): - return ":(" diff --git a/requirements.txt b/requirements.txt index 4ebc8aea..755f8b95 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -coverage +coverage==6.4.1 diff --git a/tests.py b/tests.py index 92aa2034..6503da36 100644 --- a/tests.py +++ b/tests.py @@ -7,6 +7,12 @@ class TestMethods(unittest.TestCase): def test_add(self): self.assertEqual(awesome.smile(), ":)") + def test_add_again(self): + self.assertEqual(awesome.smile(), ":)") + + def test_if(self): + self.assertTrue(awesome.test_if(1)) + if __name__ == '__main__': unittest.main() diff --git a/time.txt b/time.txt deleted file mode 100644 index a9f3b150..00000000 --- a/time.txt +++ /dev/null @@ -1 +0,0 @@ -1585101003 From cfc8a4c568d9b3d2d044521e0f6c555507cf7775 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 7 Jun 2022 12:56:29 -0400 Subject: [PATCH 031/178] fix: pytest dep --- .coverage | Bin 53248 -> 0 bytes requirements.txt | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) delete mode 100644 .coverage diff --git a/.coverage b/.coverage deleted file mode 100644 index ba4884385e1231fc4ea1610a57087af2776f00ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53248 zcmeI)+i%-c90zba&XT5W@KC9uQB^%+LRqz@X*$@%cz^;G42IA~xkv~+Cpl@nId99L9Tc~uBSQ3~`d(led%G?Psi=v^I{A2nN0mOpyCsDG$T z=e||+&x#-GmFe$`)u~^mw+i1({gA&}uxSG(2tWV=5P(1=(7QC9FP%7{-uxmk>$VI$ zvmw3swfOqw^|g(4v9b2r#dQ&{6Q?ExO_hpR6P|lRbfqU+mMw+lG_8giSk9&h+A<9t z`m)JKJX%M`JPx=V#pgN0YErB~Zc-9m&+3@oj<_awmZAX3-U7KD#49KfX>B?jLYzvX zFA7h#q$iz*^y6HdvYLyNi?_a<%$H_n)Y~#Dlj$|+F*Q^gTG21cg%%~$aJ?qyzV4Y$ zqb>a2l>zjCjX^J1XX=xPhA# z_L1x6fV%9Lcc?m3a<0)hR_IvQL%CP^OQIihDJq8JE(tCKwSecRa;2AMRE1il-1e{A z^ufz8!@!M}4XS*jMlaJ}Jw1^xEi9W}dPLLV?W5Zb_mbg8 z!oA40h1-g{496C6@(FA!}PeL2{#EyIent7jWbJm5Ov$F54W|b#rTps2#p14 zuvX|axU2YFhK9Q(J#$koCtKrT;Yl|nYC5$-uC%@|s_E=C0i(7zJJ~yt%a`Wn)SHE< z86~xqyyb_QP+F4*45R6$jx_zyO9zsN4U%b${wSIDkz@-Mr;^W=*5*bPCkbcNl9`EK zKASJi&Z@n*NAS4B&tpS{;5Gd&@W6rK(X-z*gSOb8cV0~yFCWX5UY;G5an6EKuwlC?Uxs$ z=E=vNetzQw`pc<3g<6b)Q}?DF`RCIGQEr<)4?ccb)Lqw>rV}3$DBuO3c4he@+V%c} z(JTEl{2fkXbE_O>B|WC_=)OUHE$vn`)9IK_GdWE0(Kk+&hJ5amyq|dNpopSOebJ|$ z`9PX!qRCbssM7S8yF|gMcFbnn%egKFQoPZY`;vQR&uDX{ zuj$VzboKuly{vwRf|<`9mhO|NK9*p6%&{!)0sW{2%xKLlcJp1Rwwb2tWV=5P$## zAOHafjJ1HKYD$r>|Eu~x3Oz7E00Izz00bZa0SG_<0uX=z1RyYm0-9DV#Q*=ltLT60 zzw39$u#hMc1Rwwb2tWV=5P$##AOHafK;Wnd-G7g%*+Su| zO#J`lgZK-0MYe- z<@gwv8AXEt1Rwwb2tWV=5P$##AOHafKtSQ^|2Y3gLx2DTAOHafKmY;|fB*y_009V$ zw?O>=|NH#=|G)J6<6Tyi4gwH>00bZa0SG_<0uX=z1R!u^1T>BA`mbg9h426WA1KxI A&j0`b diff --git a/requirements.txt b/requirements.txt index 755f8b95..39a6248b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,8 @@ -coverage==6.4.1 +attrs==21.4.0 +iniconfig==1.1.1 +packaging==21.3 +pluggy==1.0.0 +py==1.11.0 +pyparsing==3.0.9 +pytest==7.1.2 +tomli==2.0.1 From d46def0c11f4d518561c50594f7e55ba1296d894 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 7 Jun 2022 12:58:24 -0400 Subject: [PATCH 032/178] fix: add pytest-cov --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 39a6248b..c011c2e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,10 @@ attrs==21.4.0 +coverage==6.4.1 iniconfig==1.1.1 packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 pytest==7.1.2 +pytest-cov==3.0.0 tomli==2.0.1 From 65e941b739f66da3548a05654d816b57ba939626 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 7 Jun 2022 12:59:39 -0400 Subject: [PATCH 033/178] chore(ci): add quotes to 3.10 py version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f2ce3e3..06b266f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage From 5cffeb4e1abc302fd629b98f96ffe620d36d88ac Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 7 Jun 2022 13:00:59 -0400 Subject: [PATCH 034/178] chore: add Codecov badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2f86de17..243cef14 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # [Codecov](https://codecov.io) Python Example +[![codecov](https://codecov.io/github/codecov/example-python/branch/master/graph/badge.svg?token=tkq655ROg3)](https://codecov.io/github/codecov/example-python) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_shield) This example repository shows how Codecov can be integrated with a simple python project. It uses **GitHub Actions** and **CircleCI** as CI/CD providers and **coverage** as the coverage provider. From 65ba129f2b9855126aa0216b98b49cc09a2da524 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 7 Jun 2022 13:03:41 -0400 Subject: [PATCH 035/178] fix: lower coverage --- app/test_calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test_calculator.py b/app/test_calculator.py index cfdfd5ec..43bc650e 100644 --- a/app/test_calculator.py +++ b/app/test_calculator.py @@ -27,5 +27,5 @@ def test_divide(): assert Calculator.divide(1, 2) == 0.5 assert Calculator.divide(1.0, 2.0) == 0.5 assert Calculator.divide(0, 2.0) == 0 - assert Calculator.divide(2.0, 0.0) == 'Cannot divide by 0' assert Calculator.divide(-4, 2.0) == -2.0 + # assert Calculator.divide(2.0, 0.0) == 'Cannot divide by 0' From 46f41d96230930ac1ac81f8549c5ee11d1facf93 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Thu, 9 Jun 2022 23:03:19 -0400 Subject: [PATCH 036/178] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 243cef14..c0bd322d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # [Codecov](https://codecov.io) Python Example -[![codecov](https://codecov.io/github/codecov/example-python/branch/master/graph/badge.svg?token=tkq655ROg3)](https://codecov.io/github/codecov/example-python) +[![codecov](https://codecov.io/github/codecov/example-python/branch/master/graph/badge.svg?token=tkq655ROg3)](https://app.codecov.io/github/codecov/example-python) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_shield) This example repository shows how Codecov can be integrated with a simple python project. It uses **GitHub Actions** and **CircleCI** as CI/CD providers and **coverage** as the coverage provider. From 0e76edc4dae15ead94098ab331931cc36eb8f03d Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Thu, 9 Jun 2022 23:06:17 -0400 Subject: [PATCH 037/178] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0bd322d..4251cc84 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # [Codecov](https://codecov.io) Python Example -[![codecov](https://codecov.io/github/codecov/example-python/branch/master/graph/badge.svg?token=tkq655ROg3)](https://app.codecov.io/github/codecov/example-python) +[![codecov](https://codecov.io/github/codecov/example-python/branch/main/graph/badge.svg?token=tkq655ROg3)](https://app.codecov.io/github/codecov/example-python) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_shield) This example repository shows how Codecov can be integrated with a simple python project. It uses **GitHub Actions** and **CircleCI** as CI/CD providers and **coverage** as the coverage provider. From f0e8745c54c761a9d2c114419a143409942020d0 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 21 Sep 2022 19:52:04 -0400 Subject: [PATCH 038/178] testing critical paths --- app/calculator.py | 3 +++ app/smiles.py | 3 +++ codecov.yml | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 app/smiles.py create mode 100644 codecov.yml diff --git a/app/calculator.py b/app/calculator.py index ab6c338e..53846941 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -12,3 +12,6 @@ def divide(x, y): if y == 0: return 'Cannot divide by 0' return x * 1.0 / y + + def power(x, y): + return x**y diff --git a/app/smiles.py b/app/smiles.py new file mode 100644 index 00000000..3ef702dc --- /dev/null +++ b/app/smiles.py @@ -0,0 +1,3 @@ +class Smiles: + def smiley(): + return ":)" diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..8d953169 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,3 @@ +profilling: + critical_files_paths: + - app/calculator.py From 0bbea43ab2e9821a33192f615af29cad6899293a Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 21 Sep 2022 19:56:29 -0400 Subject: [PATCH 039/178] typo --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 8d953169..bc0959f4 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,3 @@ -profilling: +profiling: critical_files_paths: - app/calculator.py From f5ccc6af1520c9bbc2f28b6e561848a0a78d311a Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 22 Sep 2022 11:39:27 -0400 Subject: [PATCH 040/178] fix: push zero fn --- app/calculator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/calculator.py b/app/calculator.py index 53846941..1000f2bc 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -15,3 +15,6 @@ def divide(x, y): def power(x, y): return x**y + + def zero(): + return 0 From 4fa74251c82142ba8e5b0a372f5b1c4fff600e8b Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 22 Sep 2022 13:40:01 -0400 Subject: [PATCH 041/178] test: validated yaml --- app/calculator.py | 4 ++-- app/test_calculator.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/calculator.py b/app/calculator.py index 1000f2bc..4fbbd4fa 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -16,5 +16,5 @@ def divide(x, y): def power(x, y): return x**y - def zero(): - return 0 + def one(): + return 1 diff --git a/app/test_calculator.py b/app/test_calculator.py index 43bc650e..f5641938 100644 --- a/app/test_calculator.py +++ b/app/test_calculator.py @@ -24,7 +24,7 @@ def test_multiply(): assert Calculator.multiply(-4, 2.0) == -8.0 def test_divide(): - assert Calculator.divide(1, 2) == 0.5 + # assert Calculator.divide(1, 2) == 0.5 assert Calculator.divide(1.0, 2.0) == 0.5 assert Calculator.divide(0, 2.0) == 0 assert Calculator.divide(-4, 2.0) == -2.0 From 032678d95e3a75e3b6c4a32c36147028bee67452 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 22 Sep 2022 14:05:22 -0400 Subject: [PATCH 042/178] test: make change --- app/calculator.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/calculator.py b/app/calculator.py index 4fbbd4fa..ab6c338e 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -12,9 +12,3 @@ def divide(x, y): if y == 0: return 'Cannot divide by 0' return x * 1.0 / y - - def power(x, y): - return x**y - - def one(): - return 1 From b3755bb4f56e043fa3aa6bafed0bb71b56dbade6 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 22 Sep 2022 16:27:39 -0400 Subject: [PATCH 043/178] fix: more reversion --- app/calculator.py | 1 + app/smiles.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 app/smiles.py diff --git a/app/calculator.py b/app/calculator.py index ab6c338e..8a976b25 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -1,4 +1,5 @@ class Calculator: + def add(x, y): return x + y diff --git a/app/smiles.py b/app/smiles.py deleted file mode 100644 index 3ef702dc..00000000 --- a/app/smiles.py +++ /dev/null @@ -1,3 +0,0 @@ -class Smiles: - def smiley(): - return ":)" From c04075918e889902d5d8001c7fede7140d3d4e39 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 22 Sep 2022 16:49:50 -0400 Subject: [PATCH 044/178] update codecov.yml --- codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codecov.yml b/codecov.yml index bc0959f4..6f151f75 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,6 @@ profiling: critical_files_paths: - app/calculator.py + +comment: + show_critical_paths: true From cd814427d7ead0247dba5ec714b1eb93616bd823 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Sep 2022 04:13:56 +0000 Subject: [PATCH 045/178] Bump pytest-cov from 3.0.0 to 4.0.0 Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 3.0.0 to 4.0.0. - [Release notes](https://github.com/pytest-dev/pytest-cov/releases) - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c011c2e5..ea9b2cf1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 pytest==7.1.2 -pytest-cov==3.0.0 +pytest-cov==4.0.0 tomli==2.0.1 From 8b648f5142c6b4a865bfde9d44b7b64faaeb53c3 Mon Sep 17 00:00:00 2001 From: huang06 Date: Tue, 4 Oct 2022 13:46:05 +0800 Subject: [PATCH 046/178] ci: update --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06b266f5..06e2b112 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install dependencies From f368d6459a5c0f601f5141a390427cb2df52c179 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:36:16 -0400 Subject: [PATCH 047/178] Create LICENSE.md --- LICENSE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..c341b2a0 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Codecov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 8ea4830e9c48eda6384c807dabcc41256e28f71d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 04:05:29 +0000 Subject: [PATCH 048/178] Bump coverage from 6.4.1 to 7.1.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.4.1 to 7.1.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/6.4.1...7.1.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c011c2e5..375a04dc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==21.4.0 -coverage==6.4.1 +coverage==7.1.0 iniconfig==1.1.1 packaging==21.3 pluggy==1.0.0 From 804f1c38a9c4df85bd1bb72eb7efad3d85d21fcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Feb 2023 20:54:14 +0000 Subject: [PATCH 049/178] Bump iniconfig from 1.1.1 to 2.0.0 Bumps [iniconfig](https://github.com/pytest-dev/iniconfig) from 1.1.1 to 2.0.0. - [Release notes](https://github.com/pytest-dev/iniconfig/releases) - [Changelog](https://github.com/pytest-dev/iniconfig/blob/main/CHANGELOG) - [Commits](https://github.com/pytest-dev/iniconfig/compare/v1.1.1...v2.0.0) --- updated-dependencies: - dependency-name: iniconfig dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 375a04dc..2e070ca9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ attrs==21.4.0 coverage==7.1.0 -iniconfig==1.1.1 +iniconfig==2.0.0 packaging==21.3 pluggy==1.0.0 py==1.11.0 From 1f9ae58458ddacf4b126c223bc7f4c4eeaf4b287 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Feb 2023 20:54:15 +0000 Subject: [PATCH 050/178] Bump packaging from 21.3 to 23.0 Bumps [packaging](https://github.com/pypa/packaging) from 21.3 to 23.0. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/21.3...23.0) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 375a04dc..28c81cde 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ attrs==21.4.0 coverage==7.1.0 iniconfig==1.1.1 -packaging==21.3 +packaging==23.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 From 5270e2612c164ef14865981e0dbd7100d78af5bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Feb 2023 20:54:15 +0000 Subject: [PATCH 051/178] Bump attrs from 21.4.0 to 22.2.0 Bumps [attrs](https://github.com/python-attrs/attrs) from 21.4.0 to 22.2.0. - [Release notes](https://github.com/python-attrs/attrs/releases) - [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.md) - [Commits](https://github.com/python-attrs/attrs/compare/21.4.0...22.2.0) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 375a04dc..14e9acc7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==21.4.0 +attrs==22.2.0 coverage==7.1.0 iniconfig==1.1.1 packaging==21.3 From 43fe2f5e3b3fbd39cd6852004d1e2bd70bfc2357 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Feb 2023 21:42:03 +0000 Subject: [PATCH 052/178] Bump pytest from 7.1.2 to 7.2.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.2 to 7.2.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.1.2...7.2.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0c69f48d..665f4aa9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 -pytest==7.1.2 +pytest==7.2.1 pytest-cov==4.0.0 tomli==2.0.1 From 8b6a374f67a9be2918c4b870c1fe40a4fca1b4ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Feb 2023 04:20:38 +0000 Subject: [PATCH 053/178] Bump coverage from 7.1.0 to 7.2.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.1.0 to 7.2.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.1.0...7.2.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 665f4aa9..2f37b517 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==22.2.0 -coverage==7.1.0 +coverage==7.2.0 iniconfig==2.0.0 packaging==23.0 pluggy==1.0.0 From f5c240be023cccdec2dd8669dbd076f1e1927367 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Feb 2023 05:09:00 +0000 Subject: [PATCH 054/178] Bump coverage from 7.2.0 to 7.2.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.0 to 7.2.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.2.0...7.2.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2f37b517..3a92eb15 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==22.2.0 -coverage==7.2.0 +coverage==7.2.1 iniconfig==2.0.0 packaging==23.0 pluggy==1.0.0 From 40c309dd3527ee84c1486f14074f963e82ddad7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 05:05:20 +0000 Subject: [PATCH 055/178] Bump pytest from 7.2.1 to 7.2.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.1 to 7.2.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.2.1...7.2.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3a92eb15..0549fe5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 -pytest==7.2.1 +pytest==7.2.2 pytest-cov==4.0.0 tomli==2.0.1 From 7d940995e8bddb605037ebd8baacc21909c2c59e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 Mar 2023 05:12:40 +0000 Subject: [PATCH 056/178] Bump coverage from 7.2.1 to 7.2.2 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.1 to 7.2.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.2.1...7.2.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0549fe5f..81e948a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==22.2.0 -coverage==7.2.1 +coverage==7.2.2 iniconfig==2.0.0 packaging==23.0 pluggy==1.0.0 From 5086ad34825417f9a58cf0320c344ea3aa8680ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Apr 2023 05:01:38 +0000 Subject: [PATCH 057/178] Bump pytest from 7.2.2 to 7.3.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to 7.3.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 81e948a5..16a4c842 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 -pytest==7.2.2 +pytest==7.3.1 pytest-cov==4.0.0 tomli==2.0.1 From aac5cfc1e06c8e0b81f73ddc28150c5316b2af51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Apr 2023 05:01:46 +0000 Subject: [PATCH 058/178] Bump attrs from 22.2.0 to 23.1.0 Bumps [attrs](https://github.com/python-attrs/attrs) from 22.2.0 to 23.1.0. - [Release notes](https://github.com/python-attrs/attrs/releases) - [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.md) - [Commits](https://github.com/python-attrs/attrs/compare/22.2.0...23.1.0) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 81e948a5..2d534623 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==22.2.0 +attrs==23.1.0 coverage==7.2.2 iniconfig==2.0.0 packaging==23.0 From f636996321d01618c52564ba02c131debeb29aeb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Apr 2023 05:15:09 +0000 Subject: [PATCH 059/178] Bump coverage from 7.2.2 to 7.2.3 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.2 to 7.2.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.2.2...7.2.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6cff03c4..101f9f77 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.2.2 +coverage==7.2.3 iniconfig==2.0.0 packaging==23.0 pluggy==1.0.0 From 00c00340828e0cca169cd8d5725e5ad36a06a535 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Apr 2023 05:16:21 +0000 Subject: [PATCH 060/178] Bump packaging from 23.0 to 23.1 Bumps [packaging](https://github.com/pypa/packaging) from 23.0 to 23.1. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/23.0...23.1) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 101f9f77..528457c6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ attrs==23.1.0 coverage==7.2.3 iniconfig==2.0.0 -packaging==23.0 +packaging==23.1 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 From a659ba75e5a859e3aa1170707cf067436a3d0633 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 May 2023 05:16:45 +0000 Subject: [PATCH 061/178] chore(deps): bump coverage from 7.2.3 to 7.2.5 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.3 to 7.2.5. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.2.3...7.2.5) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 528457c6..f310d1e2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.2.3 +coverage==7.2.5 iniconfig==2.0.0 packaging==23.1 pluggy==1.0.0 From 895c77b3f6dfc0cf03cee852317788988cc144a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 May 2023 05:00:57 +0000 Subject: [PATCH 062/178] chore(deps): bump pytest-cov from 4.0.0 to 4.1.0 Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f310d1e2..7758e637 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ pluggy==1.0.0 py==1.11.0 pyparsing==3.0.9 pytest==7.3.1 -pytest-cov==4.0.0 +pytest-cov==4.1.0 tomli==2.0.1 From 46617b5b0037f990690ba87e7d3675cf367c986e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 05:00:05 +0000 Subject: [PATCH 063/178] chore(deps): bump coverage from 7.2.5 to 7.2.7 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.5 to 7.2.7. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.2.5...7.2.7) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f310d1e2..bb827900 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.2.5 +coverage==7.2.7 iniconfig==2.0.0 packaging==23.1 pluggy==1.0.0 From 2554758e7a5dd6964cb233b68db848b99df43b58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 04:59:17 +0000 Subject: [PATCH 064/178] chore(deps): bump pluggy from 1.0.0 to 1.2.0 Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.0.0 to 1.2.0. - [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pluggy/compare/1.0.0...1.2.0) --- updated-dependencies: - dependency-name: pluggy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f310d1e2..d7e6b418 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ attrs==23.1.0 coverage==7.2.5 iniconfig==2.0.0 packaging==23.1 -pluggy==1.0.0 +pluggy==1.2.0 py==1.11.0 pyparsing==3.0.9 pytest==7.3.1 From 60267b8f4190d8449fcb2e443052645c3c8034ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 01:20:31 +0000 Subject: [PATCH 065/178] chore(deps): bump pyparsing from 3.0.9 to 3.1.1 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.0.9 to 3.1.1. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.0.9...3.1.1) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ed4b59dc..b93c21c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.0.0 packaging==23.1 pluggy==1.0.0 py==1.11.0 -pyparsing==3.0.9 +pyparsing==3.1.1 pytest==7.3.1 pytest-cov==4.1.0 tomli==2.0.1 From 0ecba11e781d7c390832a2d2ad3a90292bc29df5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 15:32:20 +0000 Subject: [PATCH 066/178] chore(deps): bump pytest from 7.3.1 to 7.4.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.4.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.4.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index da88afac..632fe72b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.1 pluggy==1.2.0 py==1.11.0 pyparsing==3.1.1 -pytest==7.3.1 +pytest==7.4.0 pytest-cov==4.1.0 tomli==2.0.1 From 7ef667595ee217035405d5c05d7bdcb319c7462a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 04:15:06 +0000 Subject: [PATCH 067/178] chore(deps): bump coverage from 7.2.7 to 7.3.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.7 to 7.3.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.2.7...7.3.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 632fe72b..d9eb9233 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.2.7 +coverage==7.3.0 iniconfig==2.0.0 packaging==23.1 pluggy==1.2.0 From 7001e9b41f66fd751d1ae2adcc3e666d1b5f7107 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 04:19:53 +0000 Subject: [PATCH 068/178] chore(deps): bump pluggy from 1.2.0 to 1.3.0 Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.2.0 to 1.3.0. - [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pluggy/compare/1.2.0...1.3.0) --- updated-dependencies: - dependency-name: pluggy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d9eb9233..4f1daacb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ attrs==23.1.0 coverage==7.3.0 iniconfig==2.0.0 packaging==23.1 -pluggy==1.2.0 +pluggy==1.3.0 py==1.11.0 pyparsing==3.1.1 pytest==7.4.0 From f8d4e4672bbde4e88e2df789638a6e6867372ec4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 04:57:16 +0000 Subject: [PATCH 069/178] chore(deps): bump pytest from 7.4.0 to 7.4.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4f1daacb..9ad3c45f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.1 pluggy==1.3.0 py==1.11.0 pyparsing==3.1.1 -pytest==7.4.0 +pytest==7.4.1 pytest-cov==4.1.0 tomli==2.0.1 From 59b38d13b1190e9f09c3bccdfc1b38413cd9e248 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Sep 2023 04:09:17 +0000 Subject: [PATCH 070/178] chore(deps): bump coverage from 7.3.0 to 7.3.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.0 to 7.3.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.3.0...7.3.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9ad3c45f..ca397263 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.3.0 +coverage==7.3.1 iniconfig==2.0.0 packaging==23.1 pluggy==1.3.0 From 77d1a0766ab300623160163fb37940faf4ad3ae5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Sep 2023 04:14:38 +0000 Subject: [PATCH 071/178] chore(deps): bump pytest from 7.4.1 to 7.4.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.1 to 7.4.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.1...7.4.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9ad3c45f..c970c170 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.1 pluggy==1.3.0 py==1.11.0 pyparsing==3.1.1 -pytest==7.4.1 +pytest==7.4.2 pytest-cov==4.1.0 tomli==2.0.1 From cc4f1fe560ba92225b692e3c265c841a0c849d87 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 13 Sep 2023 09:02:33 -0700 Subject: [PATCH 072/178] feat: upgrade to v4 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06e2b112..901f3eb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ jobs: with: python-version: '3.10' - name: Install dependencies - run: pip install -r requirements.txt - - name: Run tests and collect coverage - run: pytest --cov app + run: | + pip install -r requirements.txt + pip install codecov-cli - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4.0.0-beta.1 From 3edd5780f68808e9dbed4625295a35e85712ce56 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 13 Sep 2023 09:05:45 -0700 Subject: [PATCH 073/178] fix: specify CODECOV_TOKEN --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 901f3eb7..7075f0b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,3 +16,5 @@ jobs: pip install codecov-cli - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.0.0-beta.1 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 5472f3e3c593dca1b0490e7196b3eb5d4066fa05 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 13 Sep 2023 09:07:05 -0700 Subject: [PATCH 074/178] fix: run tests --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7075f0b7..1e0607e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: with: python-version: '3.10' - name: Install dependencies - run: | - pip install -r requirements.txt - pip install codecov-cli + run: pip install -r requirements.txt + - name: Run tests and collect coverage + run: pytest --cov app - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.0.0-beta.1 env: From e703ae66e567e0148e7b64eceaaba924dc28bdbd Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 13 Sep 2023 09:30:44 -0700 Subject: [PATCH 075/178] fix: bump to beta.2 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e0607e4..f5ed2b80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,6 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.0.0-beta.1 + uses: codecov/codecov-action@v4.0.0-beta.2 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 0f3caab63281d3c99cf582341f4eb004430372d5 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Sep 2023 14:17:22 -0700 Subject: [PATCH 076/178] chore(ci): upgrade to codecov v4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5ed2b80..51f2a825 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -15,6 +15,6 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.0.0-beta.2 + uses: codecov/codecov-action@v4 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 2025e86794cd8589b4da5feed3539bbdcf9fec5b Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 15 Sep 2023 20:18:11 -0700 Subject: [PATCH 077/178] 'fix: switch to v4-beta' --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51f2a825..2439e50c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,6 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v4-beta-beta-beta-beta env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 1847541bbcf0ee048714eaeaaa9a8f75f51c016e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 15 Sep 2023 21:47:23 -0700 Subject: [PATCH 078/178] fix: switch to v4-beta --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2439e50c..0bce60d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,6 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4-beta-beta-beta-beta + uses: codecov/codecov-action@v4-beta env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From cfede6477646e7fb058ba6a346c77929a9c1a5e7 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 26 Sep 2023 10:37:36 +0800 Subject: [PATCH 079/178] Ignore __pycache__ direcotry from the Git --- .gitignore | 1 + app/__pycache__/__init__.cpython-39.pyc | Bin 156 -> 0 bytes app/__pycache__/calculator.cpython-39.pyc | Bin 847 -> 0 bytes .../test_calculator.cpython-39-pytest-7.1.1.pyc | Bin 6865 -> 0 bytes 4 files changed, 1 insertion(+) create mode 100644 .gitignore delete mode 100644 app/__pycache__/__init__.cpython-39.pyc delete mode 100644 app/__pycache__/calculator.cpython-39.pyc delete mode 100644 app/__pycache__/test_calculator.cpython-39-pytest-7.1.1.pyc diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..c18dd8d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__/ diff --git a/app/__pycache__/__init__.cpython-39.pyc b/app/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index d38e9303242a3ef5844b450b7f588ff3c8088526..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 156 zcmYe~<>g`k0+y2bNg(<$h(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6vJKeRZts93)w zBR@B>IHOd*xF}gaJ+maEG)X@>KP5Fezf3>1A~ClhCsntg5~wOqKe3=dKR!M)FS8^* YUaz3?7Kcr4eoARhsvXGa&p^xo0Px-=zyJUM diff --git a/app/__pycache__/calculator.cpython-39.pyc b/app/__pycache__/calculator.cpython-39.pyc deleted file mode 100644 index a39eb26ff2eadb44dc1d9b3cde0bd3441130830f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 847 zcma)4y-veG4E7~yo0fvak3=Pwu9blB00@veuysK!U7~9o(Tb!AcL^d@H~JpTeH!+x zOl(MOOxTH9f&>Cb{yW?E`5ep5%@z!*<^0AARsl1a`5vECtZ2?!__#E-@h(71x0 z>CyQ&GRV6i)`ui~7z%`;fdY*M3{5oAB5h#}>!fSgK$~j<<$CjWU>R>W-UtGirmxfptvSz%XztO; z0ipM-!7GJfw$qo>X_Rzvaz8=8JIcBzHyi+XJO6za^)h{f(sZ4Zg)J;G+pbKb%oy|< zx$U}B8Tzi9w_G=jFb&vlyY5{ogEFG{m8!{tmt3`3taqfe_$Me@d|)nC%NDlDUvWC< Si9-KWmfNQ#?its<6T>ISouL^3 diff --git a/app/__pycache__/test_calculator.cpython-39-pytest-7.1.1.pyc b/app/__pycache__/test_calculator.cpython-39-pytest-7.1.1.pyc deleted file mode 100644 index 7e1f15b775707b2bc81783f8552ced0f5f5822de..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6865 zcmd^DOK%%h6rPvu@%WWTTT-5;&{9Ji$9c7t2n{Moh(#AvMa4q0CcaK$@JsiOLmg%$ zL|L$mSR>I$EXW4&3lJ-W5DONpW`U4cKsKmLlojXPxigt@>N-s*Rf?^9=Dz06`R>d) z-#ORJWDE&@ci0z8^O_|6j*ak7fyN>f_9h4-5xF6iWqwtfsv^l!Q!B@0i6}&E#G8q7 z0_qxxeIk{05+@0`CW%gxa5acQQgBTX`I=NnZ^L@h)omGML3WKRW~16|m{yxsalrp& zppt}g1q!>PN|GhLCp(~qBNN3@Y{`~w<(A^8M0GSHC7K;umPriz zmz7P8#4YW1Y*Sj3*jq3jx1>#(z6-Sk)>;aTL*0ftzslmOh^s2D+NMkrpT|!~P8^}x z@wyE4gr&n>NjtGA-;zIuEz%?hiws49qC$x|n$X_>{ZoVW-;h}gR=WoRm@xq}IED?G zovf67kUDX59o z)c_mGaT`gH5i)8gxQ(QRjid+Ihz>TAgrY$)oD`A3QH))s=!3RVtU!UEzPKgtC<_Y( zdHveyvz^|>0y91omHa{;Ytw!gR7BTQflZo(7|vOoFk4{f_{{kND;Q3G!Mm?iDliIe zM%s$IYNt1aVj9J48N@t_i)F3TE0uO~CSx^f@kL5A1?FP+%pY7s>CRJ0WQoGq{m@U(Sk*$oI z!Y6o}S_(I2!i~9be|E#Se!4W&_6PH0g7c$i`?|1w@Dv02F^;zH!~_xr{IVSJ%ex#87=Qt9hEN!L zSsrE}FZvvL?hr`8kCL>V$_b1?-o7@1qNrCmJ1^Z{5ENA}{9{W>ti4>Co z8Uq1D`VMm9{)wM;mn>>lt-xt}CQzJ2 z@i>YnP&^5uFhZZk`ZFl2pDsAnh4%f@sar=kdnVD9)gG0mWGq z1r#r$Kt}e&IjFfA&Zxf1xU~$oR+4`NQvDhJ-^+9g+7V)Xlv7SM;^=ni6jEj&n4^$# zVzL%Rkq+E7qBt5UCk6%4l(Qej(MmbhNXnTVnsVkIP|7(XQqEDJwS%Xe<6+X_Zdj1c zeY*W-7m}q;qc@mz0=JJTC+8fxO8}hikO1f;ijecqAHeyClsT~T_t)63^QTXt;&*k* z{!&OT{khIG^!;yK@}qbP*ze4a$|+zpPs{cZ%TaL2xgZa?-&4Sm2jr4Rg-aeItk2UR;z90y@m5jz5EpS)_$U}{|G%$ z?Vv6??yYbr2c6>^`ta!(VlU_g%M|zXA_5rP1a1a)hG(B=R6U{Vdg32r CQjXpL From 2786215774bcebd573afac5b71d02357bd263340 Mon Sep 17 00:00:00 2001 From: peter279k Date: Tue, 26 Sep 2023 17:02:03 +0800 Subject: [PATCH 080/178] Remove tests.py because it's not used --- tests.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests.py diff --git a/tests.py b/tests.py deleted file mode 100644 index 6503da36..00000000 --- a/tests.py +++ /dev/null @@ -1,18 +0,0 @@ -import unittest - -import awesome - - -class TestMethods(unittest.TestCase): - def test_add(self): - self.assertEqual(awesome.smile(), ":)") - - def test_add_again(self): - self.assertEqual(awesome.smile(), ":)") - - def test_if(self): - self.assertTrue(awesome.test_if(1)) - - -if __name__ == '__main__': - unittest.main() From 3b44a802baefa89a0909c935cacdb91fe9d1d1eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 04:33:12 +0000 Subject: [PATCH 081/178] chore(deps): bump packaging from 23.1 to 23.2 Bumps [packaging](https://github.com/pypa/packaging) from 23.1 to 23.2. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/23.1...23.2) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c16954d5..e151a8d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ attrs==23.1.0 coverage==7.3.1 iniconfig==2.0.0 -packaging==23.1 +packaging==23.2 pluggy==1.3.0 py==1.11.0 pyparsing==3.1.1 From db3fa25ef4a2f06116b6a9a236f0a89509ce524f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 04:04:55 +0000 Subject: [PATCH 082/178] chore(deps): bump coverage from 7.3.1 to 7.3.2 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.1 to 7.3.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.3.1...7.3.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e151a8d5..4a713210 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.3.1 +coverage==7.3.2 iniconfig==2.0.0 packaging==23.2 pluggy==1.3.0 From 120d0aed5123a63cb83f5035c9482e284e21a1eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 04:08:33 +0000 Subject: [PATCH 083/178] chore(deps): bump pytest from 7.4.2 to 7.4.3 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.2 to 7.4.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4a713210..568dcafd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.3.0 py==1.11.0 pyparsing==3.1.1 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 tomli==2.0.1 From d109cda966c4aab84a049d7764c9e3bf90392cd8 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 14:25:29 +1100 Subject: [PATCH 084/178] test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bce60d5..f994f942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ on: [push, pull_request] jobs: run: runs-on: ubuntu-latest + steps: - name: Checkout uses: actions/checkout@v4 From 452537e4051b3371f258a638d2ea4610972b84f2 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 14:27:35 +1100 Subject: [PATCH 085/178] run ats --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f994f942..ef56dfaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ jobs: python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt + - name: Run ATS + uses: codecov/codecov-ats@v0 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov From 9af474906527f5da2cb6e2828acd1ad9028aa20b Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 15:07:27 +1100 Subject: [PATCH 086/178] specify 0.2.5 commit --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef56dfaf..06cca3bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run ATS - uses: codecov/codecov-ats@v0 + uses: codecov/codecov-ats@e4ab45da6b0874b52e9b382945426bba61911497 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage From b230409e861050d2efa9d6b2ba57a7d7508d82a0 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 15:08:51 +1100 Subject: [PATCH 087/178] set x --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06cca3bb..77ab0aae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run ATS - uses: codecov/codecov-ats@e4ab45da6b0874b52e9b382945426bba61911497 + uses: codecov/codecov-ats@155cfddc632159543ee62e5d7f90f49478ac81b7 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage From 4ab2aa8e0390a15a8de67851623b0ec9f3fafa6d Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 15:12:31 +1100 Subject: [PATCH 088/178] update the command --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77ab0aae..e2b9838c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run ATS - uses: codecov/codecov-ats@155cfddc632159543ee62e5d7f90f49478ac81b7 + uses: codecov/codecov-ats@9b308e97443e8421bcdf4377da6c34b3ca235601 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage From 8ff8691f967ff282c24de3869e3d8beaee631d3c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 15:13:37 +1100 Subject: [PATCH 089/178] fix: add static token --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2b9838c..bc8d23f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ jobs: - name: Run ATS uses: codecov/codecov-ats@9b308e97443e8421bcdf4377da6c34b3ca235601 env: + CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage run: pytest --cov app From c94d63dbd5a6acec94680d5a135e716df4fd2206 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 15:15:55 +1100 Subject: [PATCH 090/178] fix: do the ats thing --- .github/workflows/ci.yml | 5 ++++- codecov.yml | 17 ++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc8d23f1..105347dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,8 +19,11 @@ jobs: CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage - run: pytest --cov app + run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov uses: codecov/codecov-action@v4-beta + with: + flags: smart-tests + verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml index 6f151f75..1ed5513f 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,6 +1,13 @@ -profiling: - critical_files_paths: - - app/calculator.py +flag_management: + individual_flags: + - name: smart-tests + carryforward: true + carryforward_mode: "labels" + statuses: + - type: "project" + - type: "patch" -comment: - show_critical_paths: true +cli: + plugins: + pycoverage: + report_type: "json" From ed0883083780b36a6a9f5052ab72d9328a14cf4f Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 10 Nov 2023 15:18:07 +1100 Subject: [PATCH 091/178] fix: test v0 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 105347dc..3fe47ed1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -14,7 +16,7 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run ATS - uses: codecov/codecov-ats@9b308e97443e8421bcdf4377da6c34b3ca235601 + uses: codecov/codecov-ats@v0 env: CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 7691f3a93f333f07d8d5efb05a3b46b28dd1bbb8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 04:33:21 +0000 Subject: [PATCH 092/178] chore(deps): bump coverage from 7.3.2 to 7.3.3 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.2 to 7.3.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.3.2...7.3.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 568dcafd..6e87303b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.3.2 +coverage==7.3.3 iniconfig==2.0.0 packaging==23.2 pluggy==1.3.0 From e982fb32d1132a85cdf8fc06c66f68b4a132e5c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 04:19:26 +0000 Subject: [PATCH 093/178] chore(deps): bump coverage from 7.3.3 to 7.3.4 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.3 to 7.3.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.3.3...7.3.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6e87303b..e4d56498 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.1.0 -coverage==7.3.3 +coverage==7.3.4 iniconfig==2.0.0 packaging==23.2 pluggy==1.3.0 From 22dfe75f4656bd65e74871a91dea136907e402d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 04:57:57 +0000 Subject: [PATCH 094/178] chore(deps): bump pytest from 7.4.3 to 7.4.4 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 7.4.4. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e4d56498..5f908c44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.3.0 py==1.11.0 pyparsing==3.1.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 tomli==2.0.1 From bd65bca6b1853a4ef59f5eb69fca550158b2fa10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 04:57:59 +0000 Subject: [PATCH 095/178] chore(deps): bump attrs from 23.1.0 to 23.2.0 Bumps [attrs](https://github.com/sponsors/hynek) from 23.1.0 to 23.2.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e4d56498..9e9c31d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==23.1.0 +attrs==23.2.0 coverage==7.3.4 iniconfig==2.0.0 packaging==23.2 From c4eea4959ab75e2cce6b8510c217f49f571f6463 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 20:02:27 +0000 Subject: [PATCH 096/178] chore(deps): bump coverage from 7.3.4 to 7.4.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.4 to 7.4.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.3.4...7.4.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9e9c31d7..d9768319 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.3.4 +coverage==7.4.0 iniconfig==2.0.0 packaging==23.2 pluggy==1.3.0 From 1b00e154fb8a8a7ad09da4f9c6c95e70c5fa1565 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 19 Jan 2024 18:50:09 -0800 Subject: [PATCH 097/178] fix: remove whitespace --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fe47ed1..fb23bd64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ on: [push, pull_request] jobs: run: runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v4 From 211b95514359270c24c3e4e2058b3eef83db75e4 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 22 Jan 2024 12:26:36 -0800 Subject: [PATCH 098/178] chore(ci): add fossa workflow --- .github/workflows/enforce-license-compliance.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/enforce-license-compliance.yml diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml new file mode 100644 index 00000000..86be7410 --- /dev/null +++ b/.github/workflows/enforce-license-compliance.yml @@ -0,0 +1,14 @@ +name: Enforce License Compliance + +on: + pull_request: + branches: [main, master] + +jobs: + enforce-license-compliance: + runs-on: ubuntu-latest + steps: + - name: 'Enforce License Compliance' + uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main + with: + fossa_api_key: ${{ secrets.FOSSA_API_KEY }} From a03dba29c1a27def7dcac926af3761040aff76c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 04:11:34 +0000 Subject: [PATCH 099/178] chore(deps): bump pluggy from 1.3.0 to 1.4.0 Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.3.0 to 1.4.0. - [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pluggy/compare/1.3.0...1.4.0) --- updated-dependencies: - dependency-name: pluggy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9037410e..21494295 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ attrs==23.2.0 coverage==7.4.0 iniconfig==2.0.0 packaging==23.2 -pluggy==1.3.0 +pluggy==1.4.0 py==1.11.0 pyparsing==3.1.1 pytest==7.4.4 From b473655f5e8c531c9beea0969babc0b3301feb97 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Mon, 29 Jan 2024 09:57:15 -0800 Subject: [PATCH 100/178] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb23bd64..11426506 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: codecov/codecov-ats@v0 env: CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }} - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov From c1a8bb9bb3b83821830b0916fb7eca826a5a58ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:59:14 +0000 Subject: [PATCH 101/178] chore(deps): bump pytest from 7.4.4 to 8.0.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.0.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 21494295..862c69c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.4.0 py==1.11.0 pyparsing==3.1.1 -pytest==7.4.4 +pytest==8.0.0 pytest-cov==4.1.0 tomli==2.0.1 From 3de0c986edd2f5af40e403f5c895e00b41fcd7f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:59:51 +0000 Subject: [PATCH 102/178] chore(deps): bump coverage from 7.4.0 to 7.4.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.0 to 7.4.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.4.0...7.4.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 21494295..3f7f1122 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.4.0 +coverage==7.4.1 iniconfig==2.0.0 packaging==23.2 pluggy==1.4.0 From 75c584e9ccf41aa27f135fa6ec20d1eb95a699da Mon Sep 17 00:00:00 2001 From: JerrySentry Date: Mon, 29 Jan 2024 20:12:29 -0500 Subject: [PATCH 103/178] Testing: c1 --- app/test_calculator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test_calculator.py b/app/test_calculator.py index f5641938..3a4dc8ee 100644 --- a/app/test_calculator.py +++ b/app/test_calculator.py @@ -2,6 +2,7 @@ def test_add(): + assert Calculator.add(2, 4) == 6.0 assert Calculator.add(1, 2) == 3.0 assert Calculator.add(1.0, 2.0) == 3.0 assert Calculator.add(0, 2.0) == 2.0 From 7f5d465874d98dea5111cc88d622af331d70b774 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:04:00 -0800 Subject: [PATCH 104/178] Revert "Add a unit test assertion for add function" --- app/test_calculator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/test_calculator.py b/app/test_calculator.py index 3a4dc8ee..f5641938 100644 --- a/app/test_calculator.py +++ b/app/test_calculator.py @@ -2,7 +2,6 @@ def test_add(): - assert Calculator.add(2, 4) == 6.0 assert Calculator.add(1, 2) == 3.0 assert Calculator.add(1.0, 2.0) == 3.0 assert Calculator.add(0, 2.0) == 2.0 From d4b25085a9723558863e1f5645fc16ecddc4835c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 04:19:05 +0000 Subject: [PATCH 105/178] chore(deps): bump pytest from 8.0.0 to 8.0.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.0 to 8.0.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.0.0...8.0.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 179df7eb..8e4090df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.4.0 py==1.11.0 pyparsing==3.1.1 -pytest==8.0.0 +pytest==8.0.1 pytest-cov==4.1.0 tomli==2.0.1 From c2a2c6ed01e8b50fe438304b329a29c529207113 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 26 Feb 2024 13:59:15 -0800 Subject: [PATCH 106/178] fix: use CODECOV_TOKEN --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11426506..fb23bd64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: codecov/codecov-ats@v0 env: CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov From 00e6bf9be35cf671f211f0e6d9e8512b81fa3653 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:00:13 +0000 Subject: [PATCH 107/178] chore(deps): bump pytest from 8.0.1 to 8.0.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.1 to 8.0.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.0.1...8.0.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8e4090df..c6dc8b4e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.4.0 py==1.11.0 pyparsing==3.1.1 -pytest==8.0.1 +pytest==8.0.2 pytest-cov==4.1.0 tomli==2.0.1 From 3be28348af0246fa6e1bcf6f5c092093a2ab1515 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:02:04 +0000 Subject: [PATCH 108/178] chore(deps): bump coverage from 7.4.1 to 7.4.3 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.1 to 7.4.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.4.1...7.4.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8e4090df..08c08ae9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.4.1 +coverage==7.4.3 iniconfig==2.0.0 packaging==23.2 pluggy==1.4.0 From 299acf7dd004178c6af5b07d43811b2fd5ca0926 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 04:49:27 +0000 Subject: [PATCH 109/178] chore(deps): bump pytest from 8.0.2 to 8.1.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.2 to 8.1.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0f43ef1a..2f2cb33a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.4.0 py==1.11.0 pyparsing==3.1.1 -pytest==8.0.2 +pytest==8.1.0 pytest-cov==4.1.0 tomli==2.0.1 From b5269eee3e88dd4237e40eea04ad0918034c3cce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 04:49:53 +0000 Subject: [PATCH 110/178] chore(deps): bump pyparsing from 3.1.1 to 3.1.2 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/3.1.1...pyparsing_3.1.2) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2f2cb33a..2757a4c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.0.0 packaging==23.2 pluggy==1.4.0 py==1.11.0 -pyparsing==3.1.1 +pyparsing==3.1.2 pytest==8.1.0 pytest-cov==4.1.0 tomli==2.0.1 From 005280385ae52fc6ba893885e603ce23e6d82c69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 04:28:01 +0000 Subject: [PATCH 111/178] chore(deps): bump packaging from 23.2 to 24.0 Bumps [packaging](https://github.com/pypa/packaging) from 23.2 to 24.0. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/23.2...24.0) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2757a4c5..7b01ae76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.4.3 iniconfig==2.0.0 -packaging==23.2 +packaging==24.0 pluggy==1.4.0 py==1.11.0 pyparsing==3.1.2 From bf560490c8c831ff2b7aab7245481567be109c54 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 04:28:07 +0000 Subject: [PATCH 112/178] chore(deps): bump pytest from 8.1.0 to 8.1.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.0 to 8.1.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2757a4c5..9f830130 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==23.2 pluggy==1.4.0 py==1.11.0 pyparsing==3.1.2 -pytest==8.1.0 +pytest==8.1.1 pytest-cov==4.1.0 tomli==2.0.1 From 0c200e62d505f38d52cf5b92908b8b1ea001f84b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 04:35:47 +0000 Subject: [PATCH 113/178] chore(deps): bump coverage from 7.4.3 to 7.4.4 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.3 to 7.4.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.4.3...7.4.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cf06d760..6bb23a53 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.4.3 +coverage==7.4.4 iniconfig==2.0.0 packaging==24.0 pluggy==1.4.0 From 515ba31c227f3d1f860d771fb84ce43388e87c00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 04:36:12 +0000 Subject: [PATCH 114/178] chore(deps): bump pytest-cov from 4.1.0 to 5.0.0 Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6bb23a53..6b5df16f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ pluggy==1.4.0 py==1.11.0 pyparsing==3.1.2 pytest==8.1.1 -pytest-cov==4.1.0 +pytest-cov==5.0.0 tomli==2.0.1 From 3a93e19c87446f974c77455b3cbd738746ebc007 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 1 Apr 2024 18:34:26 -0700 Subject: [PATCH 115/178] chore(ci): upgrade to v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb23bd64..1798a944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4-beta + uses: codecov/codecov-action@v4 with: flags: smart-tests verbose: true From 4de8b9ee3a855b2b588f86ee227f958854c8cb57 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 04:30:08 +0000 Subject: [PATCH 116/178] chore(deps): bump pluggy from 1.4.0 to 1.5.0 Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.4.0 to 1.5.0. - [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pluggy/compare/1.4.0...1.5.0) --- updated-dependencies: - dependency-name: pluggy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6b5df16f..6be81c92 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ attrs==23.2.0 coverage==7.4.4 iniconfig==2.0.0 packaging==24.0 -pluggy==1.4.0 +pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 pytest==8.1.1 From 4402c3c16d11d6c8f8b546184cfce1b0e2a18974 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 04:38:26 +0000 Subject: [PATCH 117/178] chore(deps): bump coverage from 7.4.4 to 7.5.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.4 to 7.5.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.4.4...7.5.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6be81c92..b625997e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.4.4 +coverage==7.5.0 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From d421be50fdf9a46c64b349e0125bbfe0f83553a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 04:36:24 +0000 Subject: [PATCH 118/178] chore(deps): bump pytest from 8.1.1 to 8.2.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b625997e..7fe91edb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.0 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 -pytest==8.1.1 +pytest==8.2.0 pytest-cov==5.0.0 tomli==2.0.1 From 37a586eb6c77bba627d97b3720491f68cd303cfd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 04:55:58 +0000 Subject: [PATCH 119/178] chore(deps): bump coverage from 7.5.0 to 7.5.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.0 to 7.5.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.0...7.5.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7fe91edb..5620e4f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.0 +coverage==7.5.1 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From 849a7fbccae5731c03f75320ef94b173e7cb487c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 04:38:15 +0000 Subject: [PATCH 120/178] chore(deps): bump pytest from 8.2.0 to 8.2.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5620e4f5..7dd10a63 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.0 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 -pytest==8.2.0 +pytest==8.2.1 pytest-cov==5.0.0 tomli==2.0.1 From 0dd395d98c2bb2b6a375ed4b175acb4d02341bc9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 04:05:39 +0000 Subject: [PATCH 121/178] chore(deps): bump coverage from 7.5.1 to 7.5.2 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.1...7.5.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7dd10a63..1f157f03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.1 +coverage==7.5.2 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From de75058211a1de9ba9c8a767e0db7e36de3c158f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 04:28:40 +0000 Subject: [PATCH 122/178] chore(deps): bump coverage from 7.5.2 to 7.5.3 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.2 to 7.5.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.2...7.5.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1f157f03..ea53d566 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.2 +coverage==7.5.3 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From 15f9be5ffca600a7814723bde2e6105be17ee09e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 31 May 2024 21:17:56 +0800 Subject: [PATCH 123/178] fix: add bitrise --- .circleci/config.yml | 2 +- bitrise.yml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 bitrise.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index a01741de..fe5ae248 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - codecov: codecov/codecov@3 + codecov: codecov/codecov@4 jobs: build: diff --git a/bitrise.yml b/bitrise.yml new file mode 100644 index 00000000..a4151f75 --- /dev/null +++ b/bitrise.yml @@ -0,0 +1,25 @@ +--- +format_version: '13' +default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git +project_type: other +workflows: + primary: + steps: + - activate-ssh-key@4: + run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' + - git-clone@8: {} + - codecov@3: + inputs: + - OS: macos + - CODECOV_TOKEN: "$CODECOV_TOKEN" + - deploy-to-bitrise-io@2: {} +meta: + bitrise.io: + stack: osx-xcode-14.3.x-ventura + machine_type_id: g2-m1.4core +trigger_map: +- push_branch: main + workflow: primary +- pull_request_source_branch: "*" + workflow: primary + From 3b388ba295903192cf7047de3d2d7ef118c12b07 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 31 May 2024 21:49:52 +0800 Subject: [PATCH 124/178] fix: update bitrise.yml --- .github/workflows/ci.yml | 6 ------ bitrise.yml | 19 ++++++++++++++----- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1798a944..5e42465a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,17 +14,11 @@ jobs: python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt - - name: Run ATS - uses: codecov/codecov-ats@v0 - env: - CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: - flags: smart-tests verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/bitrise.yml b/bitrise.yml index a4151f75..5ce0a989 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -1,5 +1,4 @@ ---- -format_version: '13' +format_version: "13" default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git project_type: other workflows: @@ -8,10 +7,21 @@ workflows: - activate-ssh-key@4: run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' - git-clone@8: {} + - script@1: + inputs: + - script_file_path: null + - content: | + #!/usr/bin/env bash + set -e + set -o pipefail + set -x # debug log + + pip install -r requirements.txt + pytest --cov app - codecov@3: inputs: - OS: macos - - CODECOV_TOKEN: "$CODECOV_TOKEN" + - CODECOV_TOKEN: $CODECOV_TOKEN - deploy-to-bitrise-io@2: {} meta: bitrise.io: @@ -20,6 +30,5 @@ meta: trigger_map: - push_branch: main workflow: primary -- pull_request_source_branch: "*" +- pull_request_source_branch: '*' workflow: primary - From 9dbeee9eebcb2a524060fdf860a82ba61bfdfa02 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 31 May 2024 21:51:44 +0800 Subject: [PATCH 125/178] fix: use pip3 --- bitrise.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitrise.yml b/bitrise.yml index 5ce0a989..a09c296d 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -16,7 +16,7 @@ workflows: set -o pipefail set -x # debug log - pip install -r requirements.txt + pip3 install -r requirements.txt pytest --cov app - codecov@3: inputs: From 52ccc7a5a5ddfe2e4fce390b205c3fab75e2eb73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 04:13:41 +0000 Subject: [PATCH 126/178] chore(deps): bump pytest from 8.2.1 to 8.2.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.1 to 8.2.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.1...8.2.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ea53d566..fc92a38d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.0 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 -pytest==8.2.1 +pytest==8.2.2 pytest-cov==5.0.0 tomli==2.0.1 From 0a1a73df830d4bfa252fc695c409c78adf17a21e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 04:34:23 +0000 Subject: [PATCH 127/178] chore(deps): bump packaging from 24.0 to 24.1 Bumps [packaging](https://github.com/pypa/packaging) from 24.0 to 24.1. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/24.0...24.1) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index fc92a38d..3fb4b4d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.3 iniconfig==2.0.0 -packaging==24.0 +packaging==24.1 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 From ad1ba722661df3925ddd7040dfa99d3a6462835c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 04:29:04 +0000 Subject: [PATCH 128/178] chore(deps): bump coverage from 7.5.3 to 7.5.4 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.3 to 7.5.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.3...7.5.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3fb4b4d3..0e8a292d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.3 +coverage==7.5.4 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From 6d668870f28e521327800d43a6cc9125dc502061 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 04:44:56 +0000 Subject: [PATCH 129/178] chore(deps): bump coverage from 7.5.4 to 7.6.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.4 to 7.6.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.4...7.6.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0e8a292d..dda07947 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.4 +coverage==7.6.0 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From 6cc5e391330d2f9754aa7a92397d4894253df6c0 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 15 Jul 2024 22:41:37 +0200 Subject: [PATCH 130/178] fix: whitespace --- app/calculator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/calculator.py b/app/calculator.py index 8a976b25..4f380e8e 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -13,3 +13,4 @@ def divide(x, y): if y == 0: return 'Cannot divide by 0' return x * 1.0 / y + From 3a596162e4bf1610c363cc5455c27da9169c84c5 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 15 Jul 2024 22:46:26 +0200 Subject: [PATCH 131/178] fix: see if it works on CI --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e42465a..0b1d0cbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,13 @@ jobs: run: pip install -r requirements.txt - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} + - name: Run upload + run: | + curl -Os https://cli.codecov.io/latest/linux/codecov + chmod +x codecov + ./codecov -v create-commit -t ${{ secrets.CODECOV_TOKEN }} + ./codecov -v create-report -t ${{ secrets.CODECOV_TOKEN }} + - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: From 1706a462aadd5052b7fd4e93db7d39042b1f5ece Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 16 Jul 2024 22:49:46 +0200 Subject: [PATCH 132/178] fix: force token --- .github/workflows/ci.yml | 7 ------- codecov.yml | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b1d0cbc..5e42465a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,6 @@ jobs: run: pip install -r requirements.txt - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - - name: Run upload - run: | - curl -Os https://cli.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -v create-commit -t ${{ secrets.CODECOV_TOKEN }} - ./codecov -v create-report -t ${{ secrets.CODECOV_TOKEN }} - - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: diff --git a/codecov.yml b/codecov.yml index 1ed5513f..f4542563 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,6 @@ +codecov: + token: 8bc7e3d2-552d-4b27-aa90-64b13fd7311c + flag_management: individual_flags: - name: smart-tests From 51e61191dd81d9898995a153d4a2531648498167 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 17 Jul 2024 19:13:26 +0200 Subject: [PATCH 133/178] Update codecov.yml Roll the token --- codecov.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/codecov.yml b/codecov.yml index f4542563..1ed5513f 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,6 +1,3 @@ -codecov: - token: 8bc7e3d2-552d-4b27-aa90-64b13fd7311c - flag_management: individual_flags: - name: smart-tests From a6a7cf2a0e18b2f786b77ee43f3ebff41c43f2f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 04:24:31 +0000 Subject: [PATCH 134/178] chore(deps): bump pytest from 8.2.2 to 8.3.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index dda07947..80d8a45c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.1 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 -pytest==8.2.2 +pytest==8.3.1 pytest-cov==5.0.0 tomli==2.0.1 From db945f2502c0c004333aceadfbb725367af386a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 04:09:45 +0000 Subject: [PATCH 135/178] chore(deps): bump pytest from 8.3.1 to 8.3.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.1 to 8.3.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.1...8.3.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 80d8a45c..11f2bb02 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.1 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.2 -pytest==8.3.1 +pytest==8.3.2 pytest-cov==5.0.0 tomli==2.0.1 From 27a3aab2aa15292c167f2616d895cf62dcf92fb5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 04:46:56 +0000 Subject: [PATCH 136/178] chore(deps): bump attrs from 23.2.0 to 24.1.0 Bumps [attrs](https://github.com/sponsors/hynek) from 23.2.0 to 24.1.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 11f2bb02..707e8750 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==23.2.0 +attrs==24.1.0 coverage==7.6.0 iniconfig==2.0.0 packaging==24.1 From 3a4f7c207ad0ec191c01dce987218761d4b7687f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:51:55 +0000 Subject: [PATCH 137/178] chore(deps): bump coverage from 7.6.0 to 7.6.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.0 to 7.6.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.0...7.6.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 707e8750..f9a9ab8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.1.0 -coverage==7.6.0 +coverage==7.6.1 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From 8a390f45dc504b2c4f055db97f186d851905731e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Aug 2024 04:20:28 +0000 Subject: [PATCH 138/178] chore(deps): bump attrs from 24.1.0 to 24.2.0 Bumps [attrs](https://github.com/sponsors/hynek) from 24.1.0 to 24.2.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f9a9ab8e..28e9b19a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==24.1.0 +attrs==24.2.0 coverage==7.6.1 iniconfig==2.0.0 packaging==24.1 From 18112dfd7e1c6cce06c9052febb5df9d52175ec6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 04:04:55 +0000 Subject: [PATCH 139/178] chore(deps): bump pyparsing from 3.1.2 to 3.1.4 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.2 to 3.1.4. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.1.2...3.1.4) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 28e9b19a..718e00d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 py==1.11.0 -pyparsing==3.1.2 +pyparsing==3.1.4 pytest==8.3.2 pytest-cov==5.0.0 tomli==2.0.1 From 7ec34968807f8805b2a3b5fdd029ea671d82ebbf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Sep 2024 04:53:43 +0000 Subject: [PATCH 140/178] chore(deps): bump pytest from 8.3.2 to 8.3.3 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 718e00d0..e78524b0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.1 pluggy==1.5.0 py==1.11.0 pyparsing==3.1.4 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 tomli==2.0.1 From a973cf073ec609253bf3290df98c837c82061217 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 04:11:02 +0000 Subject: [PATCH 141/178] chore(deps): bump tomli from 2.0.1 to 2.0.2 Bumps [tomli](https://github.com/hukkin/tomli) from 2.0.1 to 2.0.2. - [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md) - [Commits](https://github.com/hukkin/tomli/compare/2.0.1...2.0.2) --- updated-dependencies: - dependency-name: tomli dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e78524b0..94419b2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ py==1.11.0 pyparsing==3.1.4 pytest==8.3.3 pytest-cov==5.0.0 -tomli==2.0.1 +tomli==2.0.2 From e15e39ad9e9f91afb708a94d0e9ed341281dfd26 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 04:20:50 +0000 Subject: [PATCH 142/178] chore(deps): bump coverage from 7.6.1 to 7.6.2 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.1 to 7.6.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.1...7.6.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 94419b2a..8b864fdb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.2.0 -coverage==7.6.1 +coverage==7.6.2 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From 1a0bfff31870d0a83c03812db07fcf32f91ce702 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 04:08:41 +0000 Subject: [PATCH 143/178] chore(deps): bump pyparsing from 3.1.4 to 3.2.0 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.4 to 3.2.0. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/3.1.4...3.2.0) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8b864fdb..82b5de20 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 py==1.11.0 -pyparsing==3.1.4 +pyparsing==3.2.0 pytest==8.3.3 pytest-cov==5.0.0 tomli==2.0.2 From 4a4c4025fcd90b1ba2866ea495091ad53e37df14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 04:08:48 +0000 Subject: [PATCH 144/178] chore(deps): bump coverage from 7.6.2 to 7.6.3 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.2 to 7.6.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.2...7.6.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8b864fdb..44a5c817 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.2.0 -coverage==7.6.2 +coverage==7.6.3 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From e7d041d9c822d7f26a1585c8145c04603239d0d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 04:21:18 +0000 Subject: [PATCH 145/178] chore(deps): bump coverage from 7.6.3 to 7.6.4 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.3 to 7.6.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.3...7.6.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9ea13fce..3bf08776 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.2.0 -coverage==7.6.3 +coverage==7.6.4 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From 487098e3e104940011cbb7d870111e7939adf276 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 04:30:13 +0000 Subject: [PATCH 146/178] chore(deps): bump pytest-cov from 5.0.0 to 6.0.0 Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3bf08776..37f3d937 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ pluggy==1.5.0 py==1.11.0 pyparsing==3.2.0 pytest==8.3.3 -pytest-cov==5.0.0 +pytest-cov==6.0.0 tomli==2.0.2 From d1e010b702ac3e11f321a0a122bc100fab427e9f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 04:15:09 +0000 Subject: [PATCH 147/178] chore(deps): bump packaging from 24.1 to 24.2 Bumps [packaging](https://github.com/pypa/packaging) from 24.1 to 24.2. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/24.1...24.2) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 37f3d937..cf23d66b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ attrs==24.2.0 coverage==7.6.4 iniconfig==2.0.0 -packaging==24.1 +packaging==24.2 pluggy==1.5.0 py==1.11.0 pyparsing==3.2.0 From c6f4f90e021eec2444408200c4d9865231679f1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 04:32:01 +0000 Subject: [PATCH 148/178] chore(deps): bump tomli from 2.0.2 to 2.1.0 Bumps [tomli](https://github.com/hukkin/tomli) from 2.0.2 to 2.1.0. - [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md) - [Commits](https://github.com/hukkin/tomli/compare/2.0.2...2.1.0) --- updated-dependencies: - dependency-name: tomli dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cf23d66b..5fb03935 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ py==1.11.0 pyparsing==3.2.0 pytest==8.3.3 pytest-cov==6.0.0 -tomli==2.0.2 +tomli==2.1.0 From 314d8f090ce1e79e9844bf1b57b331cb6875b72a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 04:37:01 +0000 Subject: [PATCH 149/178] chore(deps): bump coverage from 7.6.4 to 7.6.7 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.4 to 7.6.7. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.4...7.6.7) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5fb03935..ab9f8062 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.2.0 -coverage==7.6.4 +coverage==7.6.7 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From f777754d808c966cd77488042aaada5a7879805a Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:12:31 -0500 Subject: [PATCH 150/178] Update ci.yml --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e42465a..6ce548c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -15,10 +13,9 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage - run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} + run: pytest --cov app - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: verbose: true - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true From 6ff815471f5c0c1296c0c7d57dff1f8e19c77913 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:17:12 -0500 Subject: [PATCH 151/178] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ce548c5..94d3cc6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,4 +18,5 @@ jobs: uses: codecov/codecov-action@v5 with: verbose: true - use_oidc: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 7a8902f1e487e7ce9dd84468cbe2586c44950fa9 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:17:29 -0500 Subject: [PATCH 152/178] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94d3cc6e..22127a26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,5 +18,5 @@ jobs: uses: codecov/codecov-action@v5 with: verbose: true - env: + env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From fe33c78e94f45aa14d09a71ac7a69703caaa08c4 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:17:42 -0500 Subject: [PATCH 153/178] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22127a26..9e13158c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,5 +18,5 @@ jobs: uses: codecov/codecov-action@v5 with: verbose: true - env: + env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 3a1da30b31bc68c7c5118a28f1e2e34c3b6a3f9e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 04:39:47 +0000 Subject: [PATCH 154/178] chore(deps): bump coverage from 7.6.7 to 7.6.8 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.7 to 7.6.8. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.7...7.6.8) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ab9f8062..3e704cf5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.2.0 -coverage==7.6.7 +coverage==7.6.8 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From 57c0214a9b1522214e4daf05ce971f8d86b82650 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 04:43:54 +0000 Subject: [PATCH 155/178] chore(deps): bump pytest from 8.3.3 to 8.3.4 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ab9f8062..4f412b95 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.2 pluggy==1.5.0 py==1.11.0 pyparsing==3.2.0 -pytest==8.3.3 +pytest==8.3.4 pytest-cov==6.0.0 tomli==2.1.0 From ace1da37d37b49704b4a8ae5a7ff4288ed6aaea7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 02:03:38 +0000 Subject: [PATCH 156/178] chore(deps): bump tomli from 2.1.0 to 2.2.1 Bumps [tomli](https://github.com/hukkin/tomli) from 2.1.0 to 2.2.1. - [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md) - [Commits](https://github.com/hukkin/tomli/compare/2.1.0...2.2.1) --- updated-dependencies: - dependency-name: tomli dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4f412b95..69774423 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ py==1.11.0 pyparsing==3.2.0 pytest==8.3.4 pytest-cov==6.0.0 -tomli==2.1.0 +tomli==2.2.1 From 4bf64878d271fa7a51cd9472b64c4e6bf1720782 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 6 Dec 2024 11:00:14 -0300 Subject: [PATCH 157/178] fix: update to v5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e42465a..26b0f29c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: verbose: true env: From d8c5a5133161714776b7a50d6f93f3a8e7d4a2af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 04:19:48 +0000 Subject: [PATCH 158/178] chore(deps): bump coverage from 7.6.8 to 7.6.9 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.8 to 7.6.9. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.8...7.6.9) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7497ba5a..90d50173 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.2.0 -coverage==7.6.8 +coverage==7.6.9 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From be2394f253781a0a3eb89406c0b9fc36e184cfdc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 04:04:20 +0000 Subject: [PATCH 159/178] chore(deps): bump attrs from 24.2.0 to 24.3.0 Bumps [attrs](https://github.com/sponsors/hynek) from 24.2.0 to 24.3.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 90d50173..bef7e6d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==24.2.0 +attrs==24.3.0 coverage==7.6.9 iniconfig==2.0.0 packaging==24.2 From 6070dfa714f3fdf5d56952eb9fc131f1dd501183 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 18 Dec 2024 12:35:58 -0300 Subject: [PATCH 160/178] fix: more token --- .github/workflows/ci.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e13158c..88c6f71a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,8 @@ on: [push, pull_request] jobs: run: runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout uses: actions/checkout@v4 @@ -14,9 +16,23 @@ jobs: run: pip install -r requirements.txt - name: Run tests and collect coverage run: pytest --cov app - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5 + - name: Upload coverage to Codecov (arg token) + uses: codecov/codecov-action@main + with: + verbose: true + token: ${{ secrets.CODECOV_TOKEN }} + - name: Upload coverage to Codecov (env token) + uses: codecov/codecov-action@main with: verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Upload coverage to Codecov (no token) + uses: codecov/codecov-action@main + with: + verbose: true + - name: Upload coverage to Codecov (oidc) + uses: codecov/codecov-action@main + with: + verbose: true + use_oidc: true From 42be75cc93252efa005345f2eb999b904e5afabe Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 18 Dec 2024 12:37:32 -0300 Subject: [PATCH 161/178] fix: fail ci if error --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88c6f71a..15abf468 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,20 +19,24 @@ jobs: - name: Upload coverage to Codecov (arg token) uses: codecov/codecov-action@main with: - verbose: true + fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} + verbose: true - name: Upload coverage to Codecov (env token) uses: codecov/codecov-action@main with: + fail_ci_if_error: true verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov (no token) uses: codecov/codecov-action@main with: + fail_ci_if_error: true verbose: true - name: Upload coverage to Codecov (oidc) uses: codecov/codecov-action@main with: - verbose: true + fail_ci_if_error: true use_oidc: true + verbose: true From 42da616fd32930926299941cece9844f2f6ea67b Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 18 Dec 2024 15:13:49 -0300 Subject: [PATCH 162/178] fix: test branch --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15abf468..dd6fe958 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,25 +17,25 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov (arg token) - uses: codecov/codecov-action@main + uses: codecov/codecov-action@th/bump-scripts-and-logging with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} verbose: true - name: Upload coverage to Codecov (env token) - uses: codecov/codecov-action@main + uses: codecov/codecov-action@th/bump-scripts-and-logging with: fail_ci_if_error: true verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov (no token) - uses: codecov/codecov-action@main + uses: codecov/codecov-action@th/bump-scripts-and-logging with: fail_ci_if_error: true verbose: true - name: Upload coverage to Codecov (oidc) - uses: codecov/codecov-action@main + uses: codecov/codecov-action@th/bump-scripts-and-logging with: fail_ci_if_error: true use_oidc: true From e26253fb7a2e215686ea7a70b9d7c454fd796cd6 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 18 Dec 2024 15:19:40 -0300 Subject: [PATCH 163/178] fix: set back to main --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd6fe958..15abf468 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,25 +17,25 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app - name: Upload coverage to Codecov (arg token) - uses: codecov/codecov-action@th/bump-scripts-and-logging + uses: codecov/codecov-action@main with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} verbose: true - name: Upload coverage to Codecov (env token) - uses: codecov/codecov-action@th/bump-scripts-and-logging + uses: codecov/codecov-action@main with: fail_ci_if_error: true verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov (no token) - uses: codecov/codecov-action@th/bump-scripts-and-logging + uses: codecov/codecov-action@main with: fail_ci_if_error: true verbose: true - name: Upload coverage to Codecov (oidc) - uses: codecov/codecov-action@th/bump-scripts-and-logging + uses: codecov/codecov-action@main with: fail_ci_if_error: true use_oidc: true From d436b3743aab516146dc7261c543983f734acb56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:40:10 +0000 Subject: [PATCH 164/178] chore(deps): bump pyparsing from 3.2.0 to 3.2.1 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.2.0 to 3.2.1. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/3.2.0...3.2.1) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bef7e6d6..d82b2178 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 py==1.11.0 -pyparsing==3.2.0 +pyparsing==3.2.1 pytest==8.3.4 pytest-cov==6.0.0 tomli==2.2.1 From cd95eece6a411d467bf196dd221e77d1ae9fd904 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:40:19 +0000 Subject: [PATCH 165/178] chore(deps): bump coverage from 7.6.9 to 7.6.10 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.9 to 7.6.10. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.9...7.6.10) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bef7e6d6..2edef4ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==24.3.0 -coverage==7.6.9 +coverage==7.6.10 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From 3a98bc2e062722415b6ed7a13d420927047195c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 04:24:20 +0000 Subject: [PATCH 166/178] chore(deps): bump attrs from 24.3.0 to 25.1.0 Bumps [attrs](https://github.com/sponsors/hynek) from 24.3.0 to 25.1.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7b800478..9169039d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==24.3.0 +attrs==25.1.0 coverage==7.6.10 iniconfig==2.0.0 packaging==24.2 From 16eb7c62a35f35bd1e4479ac06e77aca2a4c85c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2025 04:14:14 +0000 Subject: [PATCH 167/178] chore(deps): bump coverage from 7.6.10 to 7.6.11 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.10 to 7.6.11. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.10...7.6.11) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9169039d..f45b95aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==25.1.0 -coverage==7.6.10 +coverage==7.6.11 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From 9a04fb2f0b6b7cc56587a294fd9b9e3d29d2af98 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 05:01:21 +0000 Subject: [PATCH 168/178] chore(deps): bump coverage from 7.6.11 to 7.6.12 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.11 to 7.6.12. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.11...7.6.12) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f45b95aa..6d4b4d70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==25.1.0 -coverage==7.6.11 +coverage==7.6.12 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From 52a52a42d9552ad74180259f10974ea48d8fd220 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 04:50:05 +0000 Subject: [PATCH 169/178] chore(deps): bump pytest from 8.3.4 to 8.3.5 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.4 to 8.3.5. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6d4b4d70..c8473223 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ packaging==24.2 pluggy==1.5.0 py==1.11.0 pyparsing==3.2.1 -pytest==8.3.4 +pytest==8.3.5 pytest-cov==6.0.0 tomli==2.2.1 From 92ece9d3fbdac1e7c72ec3c53d62222b04a99cf9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 04:12:36 +0000 Subject: [PATCH 170/178] chore(deps): bump attrs from 25.1.0 to 25.2.0 Bumps [attrs](https://github.com/sponsors/hynek) from 25.1.0 to 25.2.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c8473223..dbd94a63 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==25.1.0 +attrs==25.2.0 coverage==7.6.12 iniconfig==2.0.0 packaging==24.2 From 5735c52e2116e492c0d416d7a7de0350be63ed90 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Mar 2025 05:01:51 +0000 Subject: [PATCH 171/178] chore(deps): bump attrs from 25.2.0 to 25.3.0 Bumps [attrs](https://github.com/sponsors/hynek) from 25.2.0 to 25.3.0. - [Commits](https://github.com/sponsors/hynek/commits) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index dbd94a63..eaed5492 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -attrs==25.2.0 +attrs==25.3.0 coverage==7.6.12 iniconfig==2.0.0 packaging==24.2 From fdef4d458a2cbac8aa382380086e284d170a1ca4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 04:08:11 +0000 Subject: [PATCH 172/178] chore(deps): bump coverage from 7.6.12 to 7.7.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.12 to 7.7.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.12...7.7.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index eaed5492..2505eba9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==25.3.0 -coverage==7.6.12 +coverage==7.7.0 iniconfig==2.0.0 packaging==24.2 pluggy==1.5.0 From a654cdcac4e7422d549882af55b51af2bfeea13b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Mar 2025 04:14:28 +0000 Subject: [PATCH 173/178] chore(deps): bump iniconfig from 2.0.0 to 2.1.0 Bumps [iniconfig](https://github.com/pytest-dev/iniconfig) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/pytest-dev/iniconfig/releases) - [Changelog](https://github.com/pytest-dev/iniconfig/blob/main/CHANGELOG) - [Commits](https://github.com/pytest-dev/iniconfig/compare/v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: iniconfig dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2505eba9..7ba48449 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ attrs==25.3.0 coverage==7.7.0 -iniconfig==2.0.0 +iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 py==1.11.0 From 97b661c9be5d01e3827bbbafbe55c1cd289e3122 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Mar 2025 04:41:07 +0000 Subject: [PATCH 174/178] chore(deps): bump pyparsing from 3.2.1 to 3.2.2 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/3.2.1...3.2.2) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ba48449..ac4b4d35 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 py==1.11.0 -pyparsing==3.2.1 +pyparsing==3.2.2 pytest==8.3.5 pytest-cov==6.0.0 tomli==2.2.1 From 45c569a09243ffede9354f76ea194adfbda721a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Mar 2025 04:41:15 +0000 Subject: [PATCH 175/178] chore(deps): bump coverage from 7.7.0 to 7.7.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.7.0 to 7.7.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.7.0...7.7.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ba48449..d037747c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==25.3.0 -coverage==7.7.0 +coverage==7.7.1 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 From a358b77ab8c1631293c6a97917a05fd2e200e6f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Mar 2025 04:18:44 +0000 Subject: [PATCH 176/178] chore(deps): bump pyparsing from 3.2.2 to 3.2.3 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.2.2 to 3.2.3. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/3.2.2...3.2.3) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5af9dc6d..df4b01ef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 py==1.11.0 -pyparsing==3.2.2 +pyparsing==3.2.3 pytest==8.3.5 pytest-cov==6.0.0 tomli==2.2.1 From 41033116072c3863664fdc538410dbff40534de2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 04:42:09 +0000 Subject: [PATCH 177/178] chore(deps): bump coverage from 7.7.1 to 7.8.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.7.1 to 7.8.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.7.1...7.8.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index df4b01ef..e196adcd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ attrs==25.3.0 -coverage==7.7.1 +coverage==7.8.0 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 From 43d1307a5f03a01888632d5166ec2748b847a135 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Apr 2025 04:48:45 +0000 Subject: [PATCH 178/178] chore(deps): bump pytest-cov from 6.0.0 to 6.1.0 Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.0.0 to 6.1.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v6.0.0...v6.1.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index df4b01ef..d1cde288 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ pluggy==1.5.0 py==1.11.0 pyparsing==3.2.3 pytest==8.3.5 -pytest-cov==6.0.0 +pytest-cov==6.1.0 tomli==2.2.1