From ab7a009b4a2162fb6e24865ac4c2210fc4cf326c Mon Sep 17 00:00:00 2001 From: Benno Zeeman Date: Wed, 11 Dec 2024 16:47:46 +0100 Subject: [PATCH] ci: use experimental action; thread=1 for test --- .github/workflows/benchmark-prs.yml | 4 +- .../workflows/generate-benchmark-charts.yml | 4 +- .github/workflows/memcheck.yml | 4 +- .github/workflows/merge.yml | 38 +++++++++---------- .github/workflows/nightly.yml | 12 +++--- .github/workflows/node_man_tests.yml | 8 ++-- 6 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/benchmark-prs.yml b/.github/workflows/benchmark-prs.yml index 25392240a3..42d76cbb8a 100644 --- a/.github/workflows/benchmark-prs.yml +++ b/.github/workflows/benchmark-prs.yml @@ -47,7 +47,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs env: ANT_LOG: "all" with: @@ -217,7 +217,7 @@ jobs: - name: Stop the local network if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_benchmark diff --git a/.github/workflows/generate-benchmark-charts.yml b/.github/workflows/generate-benchmark-charts.yml index 5ec91d7641..d82a6c855e 100644 --- a/.github/workflows/generate-benchmark-charts.yml +++ b/.github/workflows/generate-benchmark-charts.yml @@ -50,7 +50,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -110,7 +110,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop platform: ubuntu-latest diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index 3eca5f494d..f18e015c2f 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -166,7 +166,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_memcheck diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 89cb422225..d383234e44 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -198,7 +198,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -222,7 +222,7 @@ jobs: # only these unit tests require a network, the rest are run above in unit test section - name: Run autonomi --tests - run: cargo test --package autonomi --tests -- --nocapture + run: cargo test --package autonomi --tests -- --nocapture --test-threads=1 env: ANT_LOG: "v" # only set the target dir for windows to bypass the linker issue. @@ -578,7 +578,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_e2e @@ -608,7 +608,7 @@ jobs: # timeout-minutes: 30 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -643,7 +643,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # log_file_prefix: safe_test_logs_transaction @@ -682,7 +682,7 @@ jobs: # timeout-minutes: 30 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -710,7 +710,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # log_file_prefix: safe_test_logs_transaction_simulation @@ -748,7 +748,7 @@ jobs: # timeout-minutes: 35 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -776,7 +776,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # log_file_prefix: safe_test_logs_token_distribution @@ -818,7 +818,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -855,7 +855,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_churn @@ -965,7 +965,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -1013,7 +1013,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_data_location @@ -1084,7 +1084,7 @@ jobs: # timeout-minutes: 30 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -1230,7 +1230,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # platform: ubuntu-latest @@ -1280,7 +1280,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -1372,7 +1372,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop platform: ubuntu-latest @@ -1443,7 +1443,7 @@ jobs: # timeout-minutes: 30 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -1590,7 +1590,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # log_file_prefix: safe_test_logs_heavy_replicate_bench diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 23a9b78f99..9c9b9a89e1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -211,7 +211,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_e2e @@ -319,7 +319,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -338,7 +338,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_churn @@ -472,7 +472,7 @@ jobs: timeout-minutes: 30 - name: Start a local network - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: start enable-evm-testnet: true @@ -501,7 +501,7 @@ jobs: - name: Stop the local network and upload logs if: always() - uses: maidsafe/ant-local-testnet-action@main + uses: maidsafe/ant-local-testnet-action@feat-addrs-logs with: action: stop log_file_prefix: safe_test_logs_data_location diff --git a/.github/workflows/node_man_tests.yml b/.github/workflows/node_man_tests.yml index b3de7a8f7c..f569b3c3dc 100644 --- a/.github/workflows/node_man_tests.yml +++ b/.github/workflows/node_man_tests.yml @@ -56,7 +56,7 @@ jobs: # timeout-minutes: 30 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -81,7 +81,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # log_file_prefix: node_man_tests_user_mode @@ -109,7 +109,7 @@ jobs: # timeout-minutes: 30 # - name: Start a local network - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: start # interval: 2000 @@ -149,7 +149,7 @@ jobs: # - name: Stop the local network and upload logs # if: always() - # uses: maidsafe/ant-local-testnet-action@main + # uses: maidsafe/ant-local-testnet-action@feat-addrs-logs # with: # action: stop # log_file_prefix: node_man_tests_system_wide