Skip to content

Commit 5bdb927

Browse files
authored
Problem: miss diff info when assert from test utils (#1745)
* Problem: miss diff info when assert from test utils * align rootdir * fix upload
1 parent fcdcc93 commit 5bdb927

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
if: steps.changed-files.outputs.only_changed == 'false'
6666
run: |
6767
nix profile install ./nix#go_1_22
68-
go tool covdata textfmt -i=integration_tests/coverage -o profile.txt
68+
go tool covdata textfmt -i=coverage -o profile.txt
6969
- name: Upload coverage report
7070
if: steps.changed-files.outputs.only_changed == 'false'
7171
uses: codecov/codecov-action@v4

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ TESTS_TO_RUN ?= all
240240

241241
run-integration-tests:
242242
@make gen-bindings-contracts
243-
@nix-shell ./integration_tests/shell.nix --run ./scripts/run-integration-tests
243+
@./scripts/run-integration-tests
244244

245245
.PHONY: run-integration-tests
246246

integration_tests/pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[pytest]
22
addopts = --ignore=contracts
3+
python_files = integration_tests/*.py

scripts/run-integration-tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "build test contracts"
99
cd ../integration_tests/contracts
1010
HUSKY_SKIP_INSTALL=1 npm install
1111
npm run typechain
12-
cd ..
12+
cd ../..
1313
TESTS_TO_RUN="${TESTS_TO_RUN:-all}"
1414
if [[ "$TESTS_TO_RUN" == "all" ]]; then
1515
echo "run all tests"
@@ -18,4 +18,4 @@ else
1818
echo "run tests matching $TESTS_TO_RUN"
1919
cmd="pytest -vv -s --session-timeout=1800 --timeout=1800 -m '$TESTS_TO_RUN'"
2020
fi
21-
nix-shell --run "$cmd"
21+
nix-shell ./integration_tests/shell.nix --run "$cmd"

0 commit comments

Comments
 (0)