mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-30 15:18:01 +00:00
Allow Targets in Test Cases (#229)
* Add an optional `targets` field to cases. This PR adds an optional `targets` field to cases which takes presence over that same field in the `Metadata`. The hope from this is to allow us to limit specific tests so that they only run on specific platforms only. * Update the resolc tests submodule * Update the default resolc version to use * Update the default heap-size and stack-size in the cli * Update the report processor
This commit is contained in:
@@ -29,6 +29,10 @@ inputs:
|
||||
default: true
|
||||
type: boolean
|
||||
# Test Execution Arguments
|
||||
# TODO: We need a better way for people to pass arguments to retester. This way is not very good
|
||||
# because we need to add support for each argument separately and support defaults and all of that
|
||||
# perhaps having people pass in a JSON String of the arguments is the better long term solution
|
||||
# for this.
|
||||
platform:
|
||||
description: "The identifier of the platform to run the tests on (e.g., geth-evm-solc, revive-dev-node-revm-solc)"
|
||||
required: true
|
||||
@@ -121,10 +125,12 @@ 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 \
|
||||
--resolc.heap-size 128000 \
|
||||
--resolc.stack-size 128000 \
|
||||
"${OMNI_ARGS[@]}" || true
|
||||
- name: Generate the expectation file
|
||||
shell: bash
|
||||
run: report-processor generate-expectations-file --report-path ./workdir/report.json --output-path ./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 --include-status failed
|
||||
- name: Upload the Report to the CI
|
||||
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user