From 886a8e2c9cf5ffbeacb93de93f343727eeda6297 Mon Sep 17 00:00:00 2001 From: qima Date: Sun, 15 Dec 2024 22:56:20 +0800 Subject: [PATCH] chore(CI): bring back memcheck test --- .github/workflows/memcheck.yml | 14 ++++---------- .github/workflows/merge.yml | 4 ++-- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index e6556b9f57..4d05240300 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -99,7 +99,7 @@ jobs: mkdir $ANT_DATA_PATH/client ls -l $ANT_DATA_PATH cp ./the-test-data.zip ./the-test-data_1.zip - ./target/release/ant --log-output-dest data-dir file_TYPE upload "" > ./second_upload 2>&1 + ./target/release/ant --log-output-dest=data-dir file upload "./the-test-data_1.zip" > ./second_upload 2>&1 enrelease-candidatev: ANT_LOG: "all" timeout-minutes: 25 @@ -114,11 +114,7 @@ jobs: - name: Start the restart node again run: | - ./target/release/antnode \ - --root-dir-type PARESTART_TEST_NODE_DATA_PATH \ - --log-output-dest $RESTART_TEST_NODE_DATA_PATH \ - --local \ - --rewards-address "0x03B770D9cD32077cC0bF330c13C114a87643B124" & + ./target/release/antnode --root-dir $RESTART_TEST_NODE_DATA_PATH --log-output-dest $RESTART_TEST_NODE_DATA_PATH --local --rewards-address "0x03B770D9cD32077cC0bF330c13C114a87643B124" & sleep 10 env: ANT_LOG: "all" @@ -150,9 +146,7 @@ jobs: if: always() - name: File Download - run: > - ./target/release/ant - --log-output-dest=data-dir file download ${{ env.UPLOAD_ADDRESS }} ./downloaded_resources + run: ./target/release/ant --log-output-dest=data-dir file download ${{ env.UPLOAD_ADDRESS }} ./downloaded_resources env: ANT_LOG: "v" timeout-minutes: 2 @@ -166,7 +160,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 60faed6af6..c7eeaa16ab 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -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 @@ -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