Skip to content

Commit 5135de5

Browse files
committed
Fix pytest ContractName import error
1 parent c9defd2 commit 5135de5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ jobs:
3535
run: |
3636
if [ -d "tests" ] && [ "$(find tests -name '*.py' -not -name '__init__.py' | wc -l)" -gt 0 ]; then
3737
echo "Running tests"
38-
pytest tests/ -v --cov=src --cov-report=term-missing
38+
pytest tests/ -v --cov=src --cov-report=term-missing -p no:ethereum
3939
else
40-
echo "No tests found - create files in tests/ directory to run tests"
40+
echo "No tests found. Test directory is empty or doesn't contain test files."
41+
echo "Tests will be skipped until test files are added."
4142
fi
4243
4344
# =============================================================================

0 commit comments

Comments
 (0)