@@ -153,7 +153,9 @@ jobs:
153153 - run : nix-shell --run "uv run make -C core build_bootloader_emu"
154154 if : matrix.coins == 'universal' && matrix.asan == 'noasan'
155155 - run : nix-shell --run "uv run make -C core build_unix_frozen"
156- - run : nix-shell --arg fullDeps true --run "cd vendor/ts-tvl && poetry env use 3.12 && poetry install && poetry run model_server tcp -c ../../tests/tropic_model/config.yml > ../../tests/trezor-tropic-model.log 2>&1 &"
156+ - name : Start Tropic model
157+ if : ${{ matrix.model == 'T3W1' }}
158+ run : nix-shell --arg fullDeps true --run "uv run model_server tcp -c tests/tropic_model/config.yml > tests/trezor-tropic-model.log 2>&1 &"
157159 - run : nix-shell --run "uv run make -C core test_emu_sanity"
158160 - run : cp core/build/unix/trezor-emu-core core/build/unix/trezor-emu-core-${{ matrix.model }}-${{ matrix.coins }}${{ matrix.n4w1 && '-n4w1' || '' }}
159161 - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # actions/upload-artifact@v7.0.0
@@ -229,7 +231,9 @@ jobs:
229231 submodules : recursive
230232 - uses : ./.github/actions/environment
231233 - run : nix-shell --run "uv run make -C core build_unix"
232- - run : nix-shell --arg fullDeps true --run "cd vendor/ts-tvl && poetry env use 3.12 && poetry install && poetry run model_server tcp -c ../../tests/tropic_model/config.yml > ../../tests/trezor-tropic-model.log 2>&1 &"
234+ - name : Start Tropic model
235+ if : ${{ matrix.model == 'T3W1' }}
236+ run : nix-shell --arg fullDeps true --run "uv run model_server tcp -c tests/tropic_model/config.yml > tests/trezor-tropic-model.log 2>&1 &"
233237 - run : nix-shell --run "uv run make -C core test"
234238 - run : nix-shell --run "uv run make -C core test_emu_sanity" # sanity check non-frozen emulator
235239
@@ -330,7 +334,7 @@ jobs:
330334 - uses : ./.github/actions/environment
331335 - name : Start Tropic model
332336 if : ${{ env.TREZOR_MODEL == 'T3W1' && env.ACTIONS_DO_UI_TEST != 'true' }} # ACTIONS_DO_UI_TEST refers to the test_emu_ui_multicore below which uses --control-emulators and starts tvl internally
333- run : nix-shell --arg fullDeps true --run "cd vendor/ts-tvl && poetry env use 3.12 && poetry install && poetry run model_server tcp -c ../../ tests/tropic_model/config.yml > ../../ tests/trezor-tropic-model.log 2>&1 &"
337+ run : nix-shell --arg fullDeps true --run "uv run model_server tcp -c tests/tropic_model/config.yml > tests/trezor-tropic-model.log 2>&1 &"
334338 - name : Run device tests
335339 if : ${{ !matrix.n4w1 }}
336340 run : nix-shell --run "uv run make -C core ${{ env.ACTIONS_DO_UI_TEST == 'true' && 'test_emu_ui_multicore' || 'test_emu' }}"
@@ -485,7 +489,7 @@ jobs:
485489 - uses : ./.github/actions/environment
486490 - name : Start Tropic model
487491 if : ${{ matrix.model == 'T3W1' }}
488- run : nix-shell --arg fullDeps true --run "cd vendor/ts-tvl && poetry env use 3.12 && poetry install && poetry run model_server tcp -c ../../ tests/tropic_model/config.yml > ../../ tests/trezor-tropic-model.log 2>&1 &"
492+ run : nix-shell --arg fullDeps true --run "uv run model_server tcp -c tests/tropic_model/config.yml > tests/trezor-tropic-model.log 2>&1 &"
489493 - run : nix-shell --run "uv run make -C core test_emu_persistence_ui"
490494 if : ${{ matrix.asan == 'noasan' }}
491495 - run : nix-shell --run "uv run make -C core test_emu_persistence"
@@ -650,7 +654,7 @@ jobs:
650654 - uses : ./.github/actions/environment
651655 - name : Start Tropic model
652656 if : ${{ matrix.model == 'T3W1' }}
653- run : nix-shell --arg fullDeps true --run "cd vendor/ts-tvl && poetry env use 3.12 && poetry install && poetry run model_server tcp -c ../../ tests/tropic_model/config.yml > ../../ tests/trezor-tropic-model.log 2>&1 &"
657+ run : nix-shell --arg fullDeps true --run "uv run model_server tcp -c tests/tropic_model/config.yml > tests/trezor-tropic-model.log 2>&1 &"
654658 - run : nix-shell --run "uv run make -C tests/fido_tests/u2f-tests-hid"
655659 - run : nix-shell --run "uv run make -C core test_emu_u2f"
656660 - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # actions/upload-artifact@v7.0.0
@@ -688,7 +692,7 @@ jobs:
688692 - uses : ./.github/actions/environment
689693 - name : Start Tropic model
690694 if : ${{ matrix.model == 'T3W1' }}
691- run : nix-shell --arg fullDeps true --run "cd vendor/ts-tvl && poetry env use 3.12 && poetry install && poetry run model_server tcp -c ../../ tests/tropic_model/config.yml > ../../ tests/trezor-tropic-model.log 2>&1 &"
695+ run : nix-shell --arg fullDeps true --run "uv run model_server tcp -c tests/tropic_model/config.yml > tests/trezor-tropic-model.log 2>&1 &"
692696 - run : nix-shell --run "uv run make -C core test_emu_fido2"
693697 - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # actions/upload-artifact@v7.0.0
694698 with :
0 commit comments