From c8b19c2eabf4986e5ebe8d03a512944ab26e1593 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 23 Sep 2024 21:53:19 +0200 Subject: [PATCH] fix workflow files --- .github/workflows/test-linux.yml | 8 +++++--- .github/workflows/test-macos.yml | 5 +++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 5c3324273973a7..be71081a1b544d 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -54,9 +54,11 @@ jobs: - name: Build run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn" - name: Test - run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9" + run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9" - name: Re-run test in a folder whose name contains unusual chars run: | - mv node 'dir%20with unusual"chars '"'"'åß∂ƒ©∆¬…`' - cd 'dir%20with unusual"chars '"'"'åß∂ƒ©∆¬…`' + mv node "$DIR" + cd "$DIR" ./tools/test.py --flaky-tests keep_retrying -p actions -j 4 + env: + DIR: "dir%20with unusual\"chars$'åß∂ƒ©∆¬…`" diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 7d25ccce1d7802..5cb78d8ce27ba5 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -47,6 +47,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: persist-credentials: false + path: node - name: Set up Python ${{ env.PYTHON_VERSION }} uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 with: @@ -80,11 +81,11 @@ jobs: df -h echo "::endgroup::" - name: Build - run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn" + run: make -C node build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn" - name: Free Space After Build run: df -h - name: Test - run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9" + run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9" - name: Re-run test in a folder whose name contains unusual chars run: | mv node "$DIR"