Commit 71c52e03 authored by eladnoor's avatar eladnoor

fixing codecov integration

parent 118c4b50
Pipeline #49811563 (#133) failed with stages
in 19 minutes and 47 seconds
......@@ -11,16 +11,13 @@ test36:
stage: test
image: python:3.6
script:
- tox -e isort
- tox -e flake8
- tox -e safety
- tox -e py36 -- --cov-report xml --cov-report term
- tox
test37:
image: python:3.7
stage: test
image: python:3.7
script:
- tox -e py37 -- --cov-report xml --cov-report term
- tox -e py37
pypi:
stage: deploy
......
codecov:
token: fa523987-db7f-4a94-b1f5-5115dc64cf6a
[tox]
envlist = flake8, isort, safety, py{36,37}
envlist = flake8, isort, safety, py{36,37}, codecov
[testenv]
setenv =
......@@ -8,8 +8,9 @@ deps =
pytest
pytest-cov
pytest-raises
coverage
commands =
pytest --cov={envsitepackagesdir}/equilibrator_api {posargs}
pytest --cov=./
[testenv:flake8]
skip_install = True
......@@ -31,3 +32,11 @@ deps=
safety
commands=
safety check
[testenv:codecov]
passenv=
GITLAB_CI CI_BUILD_REF_NAME CI_BUILD_ID CI_BUILD_REPO CI_BUILD_REF CODECOV_TOKEN
deps=
codecov>=1.4.0
commands=
codecov
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment