Skip to content

Commit

Permalink
fix governance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Dec 19, 2024
1 parent 010050b commit 4ab95fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile-chain-dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ WORKDIR /workdir

RUN cargo build --profile integration-tests --features=${NETWORK}-runtime,fast-inflation

CMD cargo run --profile integration-tests --features=${NETWORK}-runtime,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
CMD WASM_BUILD_TYPE=integration-tests && cargo run --profile integration-tests --features=${NETWORK}-runtime,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
2 changes: 1 addition & 1 deletion .docker/docker-compose.gov.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ services:
options:
max-size: "1m"
max-file: "3"
command: cargo run --profile integration-tests --features={{ NETWORK }}-runtime,gov-test-timings,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
command: WASM_BUILD_TYPE=integration-tests && cargo run --profile integration-tests --features={{ NETWORK }}-runtime,gov-test-timings,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
2 changes: 1 addition & 1 deletion .github/workflows/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
yarn add mochawesome
../scripts/wait_for_first_block.sh
echo "Ready to start tests"
NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}
NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportDir=js-packages/tests/mochawesome-report/,reportFilename=test-${NOW}
env:
RPC_URL: http://127.0.0.1:9944/

Expand Down
2 changes: 1 addition & 1 deletion js-packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"testParallel": "yarn _testParallel './**/*.test.ts'",
"testSequential": "yarn _test './**/*.seqtest.ts'",
"testEth": "yarn _test ./**/eth/*.*test.ts",
"testGovernance": "RUN_GOV_TESTS=1 yarn _test ./**/sub/governance/*.*test.ts",
"testGovernance": "RUN_GOV_TESTS=1 && yarn _test ./**/sub/governance/*.*test.ts",
"testCollators": "RUN_COLLATOR_TESTS=1 yarn _test ./**/sub/collator-selection/**.*test.ts --timeout 49999999",
"testXcmUnique": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/unique.test.ts",
"testXcmQuartz": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/quartz.test.ts",
Expand Down

0 comments on commit 4ab95fc

Please sign in to comment.