mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
ci: omit unix/emu label in test jobs
This commit is contained in:
parent
cd90d2b792
commit
c418e628ac
@ -204,7 +204,7 @@ ui tests core fixtures deploy:
|
|||||||
DEPLOY_PATH: "${DEPLOY_BASE_DIR}/ui_tests/"
|
DEPLOY_PATH: "${DEPLOY_BASE_DIR}/ui_tests/"
|
||||||
before_script: [] # no pipenv
|
before_script: [] # no pipenv
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix device ui test
|
- core device ui test
|
||||||
script:
|
script:
|
||||||
- echo "Deploying to $DEPLOY_PATH"
|
- echo "Deploying to $DEPLOY_PATH"
|
||||||
- rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
|
- rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
|
||||||
|
@ -4,10 +4,10 @@ core unix coverage posttest:
|
|||||||
stage: posttest
|
stage: posttest
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix device test
|
- core device test
|
||||||
- core unix monero test
|
- core monero test
|
||||||
- core unix u2f test
|
- core u2f test
|
||||||
- core unix fido2 test
|
- core fido2 test
|
||||||
script:
|
script:
|
||||||
- cd core
|
- cd core
|
||||||
- pipenv run make res # we need to regenerate resources.py
|
- pipenv run make res # we need to regenerate resources.py
|
||||||
|
44
ci/test.yml
44
ci/test.yml
@ -2,7 +2,7 @@ image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/environment
|
|||||||
|
|
||||||
# Core
|
# Core
|
||||||
|
|
||||||
core unix unit test:
|
core unit test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -11,7 +11,7 @@ core unix unit test:
|
|||||||
- cd core
|
- cd core
|
||||||
- pipenv run make test
|
- pipenv run make test
|
||||||
|
|
||||||
core unix device ui test:
|
core device ui test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -22,7 +22,7 @@ core unix device ui test:
|
|||||||
- cd ../ci
|
- cd ../ci
|
||||||
- pipenv run python prepare_ui_artifacts.py
|
- pipenv run python prepare_ui_artifacts.py
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-device-ui-test
|
name: core-device-ui-test
|
||||||
paths:
|
paths:
|
||||||
- ci/ui_test_records/
|
- ci/ui_test_records/
|
||||||
- tests/ui_tests/reports/
|
- tests/ui_tests/reports/
|
||||||
@ -33,7 +33,7 @@ core unix device ui test:
|
|||||||
reports:
|
reports:
|
||||||
junit: tests/junit.xml
|
junit: tests/junit.xml
|
||||||
|
|
||||||
core unix device test:
|
core device test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -45,7 +45,7 @@ core unix device test:
|
|||||||
- pipenv run make test_emu
|
- pipenv run make test_emu
|
||||||
- mv ./src/.coverage .coverage.test_emu
|
- mv ./src/.coverage .coverage.test_emu
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-device-test
|
name: core-device-test
|
||||||
paths:
|
paths:
|
||||||
- tests/trezor.log
|
- tests/trezor.log
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
@ -55,7 +55,7 @@ core unix device test:
|
|||||||
reports:
|
reports:
|
||||||
junit: tests/junit.xml
|
junit: tests/junit.xml
|
||||||
|
|
||||||
core unix btconly device test:
|
core btconly device test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -67,7 +67,7 @@ core unix btconly device test:
|
|||||||
- cd core
|
- cd core
|
||||||
- pipenv run make test_emu
|
- pipenv run make test_emu
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-btconly-device-test
|
name: core-btconly-device-test
|
||||||
paths:
|
paths:
|
||||||
- tests/trezor.log
|
- tests/trezor.log
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
@ -76,7 +76,7 @@ core unix btconly device test:
|
|||||||
reports:
|
reports:
|
||||||
junit: tests/junit.xml
|
junit: tests/junit.xml
|
||||||
|
|
||||||
core unix monero test:
|
core monero test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -88,14 +88,14 @@ core unix monero test:
|
|||||||
- pipenv run make test_emu_monero
|
- pipenv run make test_emu_monero
|
||||||
- mv ./src/.coverage .coverage.test_emu_monero
|
- mv ./src/.coverage .coverage.test_emu_monero
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-monero-test
|
name: core-monero-test
|
||||||
paths:
|
paths:
|
||||||
- tests/trezor.log
|
- tests/trezor.log
|
||||||
- core/.coverage.*
|
- core/.coverage.*
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
core unix u2f test:
|
core u2f test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -108,14 +108,14 @@ core unix u2f test:
|
|||||||
- pipenv run make test_emu_u2f
|
- pipenv run make test_emu_u2f
|
||||||
- mv ./src/.coverage .coverage.test_emu_u2f
|
- mv ./src/.coverage .coverage.test_emu_u2f
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-u2f-test
|
name: core-u2f-test
|
||||||
paths:
|
paths:
|
||||||
- tests/trezor.log
|
- tests/trezor.log
|
||||||
- core/.coverage.*
|
- core/.coverage.*
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
core unix fido2 test:
|
core fido2 test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -127,7 +127,7 @@ core unix fido2 test:
|
|||||||
- pipenv run make test_emu_fido2
|
- pipenv run make test_emu_fido2
|
||||||
- mv ./src/.coverage .coverage.test_emu_fido2
|
- mv ./src/.coverage .coverage.test_emu_fido2
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-fido2-test
|
name: core-fido2-test
|
||||||
paths:
|
paths:
|
||||||
- tests/trezor.log
|
- tests/trezor.log
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
@ -137,7 +137,7 @@ core unix fido2 test:
|
|||||||
junit: tests/junit.xml
|
junit: tests/junit.xml
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
core unix click test:
|
core click test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -146,7 +146,7 @@ core unix click test:
|
|||||||
- cd core
|
- cd core
|
||||||
- pipenv run make test_emu_click
|
- pipenv run make test_emu_click
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-click-test
|
name: core-click-test
|
||||||
paths:
|
paths:
|
||||||
- tests/trezor.log
|
- tests/trezor.log
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
@ -155,7 +155,7 @@ core unix click test:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
core unix upgrade test:
|
core upgrade test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -166,7 +166,7 @@ core unix upgrade test:
|
|||||||
- tests/download_emulators.sh
|
- tests/download_emulators.sh
|
||||||
- pipenv run pytest --junitxml=tests/junit.xml tests/upgrade_tests
|
- pipenv run pytest --junitxml=tests/junit.xml tests/upgrade_tests
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-upgrade-test
|
name: core-upgrade-test
|
||||||
paths:
|
paths:
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
reports:
|
reports:
|
||||||
@ -174,7 +174,7 @@ core unix upgrade test:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
core unix persistence test:
|
core persistence test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .core_job
|
extends: .core_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -182,7 +182,7 @@ core unix persistence test:
|
|||||||
script:
|
script:
|
||||||
- pipenv run pytest --junitxml=tests/junit.xml tests/persistence_tests
|
- pipenv run pytest --junitxml=tests/junit.xml tests/persistence_tests
|
||||||
artifacts:
|
artifacts:
|
||||||
name: core-unix-persistence-test
|
name: core-persistence-test
|
||||||
paths:
|
paths:
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
reports:
|
reports:
|
||||||
@ -220,7 +220,7 @@ crypto test:
|
|||||||
|
|
||||||
# Legacy
|
# Legacy
|
||||||
|
|
||||||
legacy emu test:
|
legacy test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .legacy_job
|
extends: .legacy_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -239,7 +239,7 @@ legacy emu test:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
legacy emu btconly test:
|
legacy btconly test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .legacy_job
|
extends: .legacy_job
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -261,7 +261,7 @@ legacy emu btconly test:
|
|||||||
when: always
|
when: always
|
||||||
|
|
||||||
|
|
||||||
legacy emu upgrade test:
|
legacy upgrade test:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .legacy_job
|
extends: .legacy_job
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user