|
8 | 8 | branches: |
9 | 9 | - master |
10 | 10 | schedule: |
11 | | - - cron: '15 0 * * *' # every day at 00:15 UTC |
| 11 | + - cron: "15 0 * * *" # every day at 00:15 UTC |
12 | 12 |
|
13 | 13 | env: |
14 | 14 | CARGO_TERM_COLOR: always |
|
59 | 59 | - name: Update local dependency repositories |
60 | 60 | run: sudo apt-get update |
61 | 61 | - name: Install build dependencies |
62 | | - run: sudo apt-get install -yqq --no-install-recommends build-essential python3 python3-toml podman pkg-config libssl-dev |
| 62 | + run: sudo apt-get install -yqq --no-install-recommends build-essential python3 python3-toml podman pkg-config libssl-dev libdbus-1-dev libusb-1.0-0-dev |
63 | 63 | - name: Install rust |
64 | 64 | run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(python3 ./build-tools/cargo-info-extractor/extract.py --rust-version) |
65 | 65 | - name: Build |
@@ -117,9 +117,9 @@ jobs: |
117 | 117 | run_tests_on_trezor_preparation: |
118 | 118 | runs-on: ubuntu-latest |
119 | 119 | steps: |
120 | | - # Note: we need to mimic the directory structure of the run_tests_on_trezor job, otherwise nextest |
121 | | - # will fail to execute archived tests. So we checkout the source code to "./mintlayer-core". |
122 | | - # (Also note that because of this the resulting path of the source dir will be "/.../mintlayer-core/mintlayer-core/mintlayer-core") |
| 120 | + # Note: we need to mimic the directory structure of the run_tests_on_trezor job, otherwise nextest |
| 121 | + # will fail to execute archived tests. So we checkout the source code to "./mintlayer-core". |
| 122 | + # (Also note that because of this the resulting path of the source dir will be "/.../mintlayer-core/mintlayer-core/mintlayer-core") |
123 | 123 | - name: Checkout the core repository |
124 | 124 | uses: actions/checkout@v4 |
125 | 125 | with: |
@@ -227,13 +227,12 @@ jobs: |
227 | 227 | # Note: since we haven't installed Cargo in this job, we have to execute "cargo-nextest nextest" |
228 | 228 | # instead of "cargo nextest". |
229 | 229 | - name: Run tests in the emulator |
230 | | - run: |
231 | | - nix-shell --run " |
232 | | - poetry run core/emu.py |
233 | | - --headless --quiet --temporary-profile |
234 | | - --mnemonic \"abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about\" |
235 | | - --command env --chdir ../mintlayer-core |
236 | | - cargo-nextest nextest run --archive-file tests.tar.zst -j1 trezor_signer |
| 230 | + run: nix-shell --run " |
| 231 | + poetry run core/emu.py |
| 232 | + --headless --quiet --temporary-profile |
| 233 | + --mnemonic \"abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about\" |
| 234 | + --command env --chdir ../mintlayer-core |
| 235 | + cargo-nextest nextest run --archive-file tests.tar.zst -j1 trezor_signer |
237 | 236 | " |
238 | 237 | working-directory: ./mintlayer-trezor-firmware |
239 | 238 | timeout-minutes: 10 |
0 commit comments