mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-23 15:08:19 +00:00
ci(core): make sure emulators are not failing on startup
[no changelog]
This commit is contained in:
parent
a56c5448e9
commit
4aadfa1f4f
1
.github/workflows/core.yml
vendored
1
.github/workflows/core.yml
vendored
@ -193,6 +193,7 @@ jobs:
|
||||
- run: nix-shell --run "poetry run make -C core build_bootloader_emu"
|
||||
if: matrix.coins == 'universal' && matrix.asan == 'noasan'
|
||||
- run: nix-shell --run "poetry run make -C core build_unix_frozen"
|
||||
- run: nix-shell --run "poetry run make -C core test_emu_sanity"
|
||||
- run: cp core/build/unix/trezor-emu-core core/build/unix/trezor-emu-core-${{ matrix.model }}-${{ matrix.coins }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -182,6 +182,9 @@ test_rust: ## run rs unit tests
|
||||
--no-default-features --features $(LAYOUT_FEATURE),power_manager,test \
|
||||
-- --test-threads=1 --nocapture
|
||||
|
||||
test_emu_sanity: ## make sure the emulator doesn't crash on startup
|
||||
$(EMU) --disable-animation --headless --temporary-profile -c -- trezorctl -v ping "Hello World!"
|
||||
|
||||
test_emu: ## run selected device tests from python-trezor
|
||||
$(EMU_TEST) $(PYTEST) $(TESTPATH)/device_tests $(TESTOPTS) --lang=$(TEST_LANG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user