From 2ce575bf72d9e399b508ec2d3f4270cfb2e420c2 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Thu, 15 Jan 2026 16:14:03 +0300 Subject: [PATCH] Fix the path of the workdir in CI --- .github/actions/run-differential-tests/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/run-differential-tests/action.yml b/.github/actions/run-differential-tests/action.yml index f402181..2099896 100644 --- a/.github/actions/run-differential-tests/action.yml +++ b/.github/actions/run-differential-tests/action.yml @@ -111,6 +111,7 @@ runs: --test ./revive-differential-tests/resolc-compiler-tests/fixtures/solidity/complex \ --test ./revive-differential-tests/resolc-compiler-tests/fixtures/solidity/translated_semantic_tests \ --platform ${{ inputs['platform'] }} \ + --report.file-name report.json \ --concurrency.number-of-nodes 10 \ --concurrency.number-of-threads 10 \ --concurrency.number-of-concurrent-tasks 100 \ @@ -120,22 +121,21 @@ runs: --eth-rpc.path ${{ inputs['polkadot-sdk-path'] }}/target/release/eth-rpc \ --polkadot-omni-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/polkadot-omni-node \ --resolc.path ./resolc \ - --report.file-name report.json \ "${OMNI_ARGS[@]}" || true - name: Generate the expectation file shell: bash - run: report-processor generate-expectations-file --report-path ./revive-differential-tests/workdir/report.json --output-path ./revive-differential-tests/workdir/expectations.json --remove-prefix ./revive-differential-tests/resolc-compiler-tests + run: report-processor generate-expectations-file --report-path ./workdir/report.json --output-path ./workdir/expectations.json --remove-prefix ./revive-differential-tests/resolc-compiler-tests - name: Upload the Report to the CI uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f with: name: ${{ inputs['platform'] }}-report.json - path: ./revive-differential-tests/workdir/report.json + path: ./workdir/report.json - name: Upload the Report to the CI uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f with: name: ${{ inputs['platform'] }}.json - path: ./revive-differential-tests/workdir/expectations.json + path: ./workdir/expectations.json - name: Check Expectations shell: bash if: ${{ inputs['expectations-file-path'] != '' }} - run: report-processor compare-expectation-files --base-expectation-path ${{ inputs['expectations-file-path'] }}.json --other-expectation-path ./revive-differential-tests/workdir/expectations.json + run: report-processor compare-expectation-files --base-expectation-path ${{ inputs['expectations-file-path'] }}.json --other-expectation-path ./workdir/expectations.json