Skip to content

Commit

Permalink
Problem: miss diff info when assert from test utils (#1745)
Browse files Browse the repository at this point in the history
* Problem: miss diff info when assert from test utils

* align rootdir

* fix upload
  • Loading branch information
mmsqe authored Feb 14, 2025
1 parent fcdcc93 commit 5bdb927
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
if: steps.changed-files.outputs.only_changed == 'false'
run: |
nix profile install ./nix#go_1_22
go tool covdata textfmt -i=integration_tests/coverage -o profile.txt
go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
if: steps.changed-files.outputs.only_changed == 'false'
uses: codecov/codecov-action@v4
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ TESTS_TO_RUN ?= all

run-integration-tests:
@make gen-bindings-contracts
@nix-shell ./integration_tests/shell.nix --run ./scripts/run-integration-tests
@./scripts/run-integration-tests

.PHONY: run-integration-tests

Expand Down
1 change: 1 addition & 0 deletions integration_tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[pytest]
addopts = --ignore=contracts
python_files = integration_tests/*.py
4 changes: 2 additions & 2 deletions scripts/run-integration-tests
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ echo "build test contracts"
cd ../integration_tests/contracts
HUSKY_SKIP_INSTALL=1 npm install
npm run typechain
cd ..
cd ../..
TESTS_TO_RUN="${TESTS_TO_RUN:-all}"
if [[ "$TESTS_TO_RUN" == "all" ]]; then
echo "run all tests"
Expand All @@ -18,4 +18,4 @@ else
echo "run tests matching $TESTS_TO_RUN"
cmd="pytest -vv -s --session-timeout=1800 --timeout=1800 -m '$TESTS_TO_RUN'"
fi
nix-shell --run "$cmd"
nix-shell ./integration_tests/shell.nix --run "$cmd"

0 comments on commit 5bdb927

Please sign in to comment.