From cc66bd202c417468aa81d0cb71febb1a4604dd30 Mon Sep 17 00:00:00 2001 From: Claudiu-Marcel Bruda Date: Mon, 19 Dec 2022 11:10:09 +0200 Subject: [PATCH] add wasm-tests-args input --- .github/workflows/contracts.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 8e3f9cd..f5d8028 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -23,6 +23,11 @@ on: default: '' required: false type: string + wasm-tests-args: + description: 'wasm tests arguments' + default: '--features elrond-wasm-debug/mandos-go-tests' + required: false + type: string clippy-args: description: 'cargo clippy arguments' default: '--all-targets --all-features' @@ -75,7 +80,7 @@ jobs: run: erdpy contract build -r ${{ inputs.extra-build-args }} - name: Run the wasm tests - run: cargo test --features elrond-wasm-debug/mandos-go-tests + run: cargo test ${{ inputs.wasm-tests-args }} - name: Generate the contract report run: erdpy contract report --skip-build --output-format json --output-file report.json