diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1a6ae47..ab7d9c65 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,3 +37,5 @@ jobs: run: python -m pip install -r requirements/dev.txt - name: Run tests run: python -m tox -e py # Run tox using the version of Python in `PATH` + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 diff --git a/cloudevents/kafka/exceptions.py b/cloudevents/kafka/exceptions.py index 6459f0a2..e3b45541 100644 --- a/cloudevents/kafka/exceptions.py +++ b/cloudevents/kafka/exceptions.py @@ -10,7 +10,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations -# under the License. +# under the License. Test from cloudevents import exceptions as cloud_exceptions diff --git a/cloudevents/sdk/converters/binary.py b/cloudevents/sdk/converters/binary.py index c5fcbf54..f6b6c014 100644 --- a/cloudevents/sdk/converters/binary.py +++ b/cloudevents/sdk/converters/binary.py @@ -11,6 +11,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. +# This is a test, pl ignore import typing diff --git a/tox.ini b/tox.ini index a5cbdfa7..0be6bf14 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ deps = -r{toxinidir}/requirements/test.txt -r{toxinidir}/requirements/publish.txt setenv = - PYTESTARGS = -v -s --tb=long --cov=cloudevents --cov-report term-missing --cov-fail-under=95 + PYTESTARGS = -v -s --tb=long --cov=cloudevents --cov-report term-missing --cov-report=xml commands = pytest {env:PYTESTARGS} {posargs} [testenv:reformat]