Skip to content
Snippets Groups Projects
Commit d78b8866 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

func test first

parent 560ff54c
No related branches found
No related tags found
No related merge requests found
Pipeline #62546 passed
...@@ -63,6 +63,36 @@ build-from-test-image: ...@@ -63,6 +63,36 @@ build-from-test-image:
- pip3 install -r requirements-dev.txt - pip3 install -r requirements-dev.txt
- py.test test/test_install/test_make_all-installed.py -xv - py.test test/test_install/test_make_all-installed.py -xv
func-test-ubuntu:
stage: test
except:
- docker
- helpers
- install
before_script:
- pip3 install --upgrade pip
- pip3 install -r requirements-dev.txt
- ./make
script:
# - py.test test/test_functional/test_pangenome.py -vx
# - py.test test/test_functional/test_pangenome-parser.py -vx
# - py.test test/test_functional/test_corepers* -vx
# - py.test test/test_functional/test_align-parser.py -vx
# - py.test test/test_functional/test_align.py -vx
# - py.test test/test_functional/test_tree* -vx
# - py.test test/test_functional/test_annote-parser.py -vx
# - py.test test/test_functional/test_annote.py -xv
# - py.test test/test_functional/test_all* -vx
# - py.test test/test_functional/test_prepare* -vx
- py.test test/test_unit/test_align -vx
- coverage report
- mv .coverage .coverage.functional
artifacts:
paths:
- .coverage.functional
- htmlcov/index.html
expire_in: 1 hour
unit-test-ubuntu: unit-test-ubuntu:
stage: test stage: test
...@@ -89,47 +119,14 @@ unit-test-ubuntu: ...@@ -89,47 +119,14 @@ unit-test-ubuntu:
# - py.test test/test_unit/test_align -vx # - py.test test/test_unit/test_align -vx
- py.test test/test_unit/test_tree -xv - py.test test/test_unit/test_tree -xv
- coverage report - coverage report
- coverage html
- more .coverage
- mv .coverage .coverage.unit - mv .coverage .coverage.unit
artifacts: artifacts:
paths: paths:
- .coverage.unit - .coverage.unit
- myindex
expire_in: 1 hour expire_in: 1 hour
func-test-ubuntu:
stage: test
except:
- docker
- helpers
- install
before_script:
- pip3 install --upgrade pip
- pip3 install -r requirements-dev.txt
- ./make
script:
# - py.test test/test_functional/test_pangenome.py -vx
# - py.test test/test_functional/test_pangenome-parser.py -vx
# - py.test test/test_functional/test_corepers* -vx
# - py.test test/test_functional/test_align-parser.py -vx
# - py.test test/test_functional/test_align.py -vx
# - py.test test/test_functional/test_tree* -vx
# - py.test test/test_functional/test_annote-parser.py -vx
# - py.test test/test_functional/test_annote.py -xv
# - py.test test/test_functional/test_all* -vx
# - py.test test/test_functional/test_prepare* -vx
- py.test test/test_unit/test_align -vx
- coverage report
- coverage html
- more .coverage
- mv .coverage .coverage.functional
artifacts:
paths:
- .coverage.functional
- htmlcov/index.html
expire_in: 1 hour
coverage: coverage:
...@@ -146,11 +143,7 @@ coverage: ...@@ -146,11 +143,7 @@ coverage:
- pip3 install -r requirements-dev.txt - pip3 install -r requirements-dev.txt
script: script:
- pwd - pwd
- more .coverage.unit
- more .coverage.functional
- coverage combine .coverage.unit .coverage.functional - coverage combine .coverage.unit .coverage.functional
- ls -la
# - mv .coverage.functional .coverage # only func coverage for now
- coverage report -i - coverage report -i
- coverage html -i - coverage html -i
# test coverage parsing: \d+\%\s*$ # test coverage parsing: \d+\%\s*$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment