Skip to content

Conversation

@junghoon-vans
Copy link
Member

Summary

Add ability to skip specific integration tests via testdata-skip.txt file.

Changes

  • Add get_integration_tests() to share test discovery logic between copy_integration_tests() and list_integration_tests()
  • Add --skip flag to setup.py --list-tests to exclude tests listed in testdata-skip.txt
  • Update all-integration-tests.sh to accept --skip as third argument
  • Add testdata-skip.txt for listing tests to exclude (e.g., gas measurement tests)
  • Enable --skip in GitHub Actions workflow

Usage

# List all tests (default)
python3 setup.py --list-tests

# List tests excluding those in testdata-skip.txt
python3 setup.py --list-tests --skip

# Run integration tests with skip
./scripts/all-integration-tests.sh ./gno/gno.land/pkg/integration . --skip

@junghoon-vans junghoon-vans self-assigned this Nov 28, 2025
@junghoon-vans junghoon-vans added the ci action or Ci related label Nov 28, 2025
@junghoon-vans junghoon-vans force-pushed the feat-integration-test-skip-option branch from ecd986c to 6f38e1b Compare November 28, 2025 02:24
- Add testdata-skip.txt to manage list of tests to skip
- Update setup.py to support --skip flag for both --list-tests and normal run
- Update all-integration-tests.sh to pass --skip flag to setup.py
- Add --skip flag to GitHub Actions workflow
- Refactor setup.py: consolidate duplicate functions into private helpers
@junghoon-vans junghoon-vans force-pushed the feat-integration-test-skip-option branch from 6f38e1b to 591f4db Compare November 28, 2025 02:25
@sonarqubecloud
Copy link

@junghoon-vans junghoon-vans merged commit 89bd64d into main Nov 28, 2025
163 of 166 checks passed
@junghoon-vans junghoon-vans deleted the feat-integration-test-skip-option branch November 28, 2025 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci action or Ci related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants