Skip to content
Snippets Groups Projects
Commit 2d11113c authored by Alán Muñoz's avatar Alán Muñoz
Browse files

ci(tests): allow failure for checks and rename all

parent ab55d270
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,8 @@ variables: ...@@ -12,8 +12,8 @@ variables:
TRIGGER_PYPI_NAME: "" TRIGGER_PYPI_NAME: ""
stages: stages:
- test - tests
- check - checks
# - release # - release
before_script: before_script:
...@@ -35,7 +35,7 @@ before_script: ...@@ -35,7 +35,7 @@ before_script:
- poetry install -vv $ARGS - poetry install -vv $ARGS
Local Tests: Local Tests:
stage: test stage: tests
script: script:
- poetry install -vv - poetry install -vv
- poetry run pytest ./tests --ignore ./tests/aliby/network - poetry run pytest ./tests --ignore ./tests/aliby/network
...@@ -43,17 +43,19 @@ Local Tests: ...@@ -43,17 +43,19 @@ Local Tests:
# TODO Split testing in four: Network vs non-network and Unit vs integration # TODO Split testing in four: Network vs non-network and Unit vs integration
Network Tools Test: Network Tools Test:
stage: test stage: tests
script: script:
- poetry run pytest ./tests/aliby/network - poetry run pytest ./tests/aliby/network
Code Lint: Code Lint:
stage: check stage: checks
allow_failure: true
script: script:
- poetry run black . - poetry run black .
- poetry run isort .
Static Type: Static Type:
stage: check stage: checks
allow_failure: true allow_failure: true
script: script:
- poetry run mypy . --exclude 'setup\.py$' - poetry run mypy . --exclude 'setup\.py$'
......
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