Merge 17d1df0b82
into c5645d8fcf
This commit is contained in:
commit
ee0474b59e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue