Test Web Scraping #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Web Scraping | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Run pattern matching tests | |
| run: | | |
| echo "Running pattern matching tests..." | |
| python3 test_scraping_patterns.py | |
| - name: Run comprehensive unit tests | |
| run: | | |
| echo "Running comprehensive unit tests..." | |
| python3 test_web_scraping.py | |
| - name: Run integration tests | |
| run: | | |
| echo "Running integration tests..." | |
| python3 test_integration.py | |
| - name: Run all tests with master runner | |
| run: | | |
| echo "Running master test suite..." | |
| python3 run_all_tests.py | |
| - name: Test summary | |
| if: always() | |
| run: | | |
| echo "✓ Web scraping test suite completed" | |
| echo "All tests verify that scraping patterns work correctly" |