This commit is contained in:
Rohan Bhaumik 2024-11-13 18:03:16 +02:00 committed by GitHub
commit ee0474b59e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 2 deletions

View File

@ -37,3 +37,5 @@ jobs:
run: python -m pip install -r requirements/dev.txt run: python -m pip install -r requirements/dev.txt
- name: Run tests - name: Run tests
run: python -m tox -e py # Run tox using the version of Python in `PATH` 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

View File

@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License. Test
from cloudevents import exceptions as cloud_exceptions from cloudevents import exceptions as cloud_exceptions

View File

@ -11,6 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# This is a test, pl ignore
import typing import typing

View File

@ -8,7 +8,7 @@ deps =
-r{toxinidir}/requirements/test.txt -r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/publish.txt -r{toxinidir}/requirements/publish.txt
setenv = 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} commands = pytest {env:PYTESTARGS} {posargs}
[testenv:reformat] [testenv:reformat]