Add ReplitScrapper class #28
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: Unit Test Linux | |
| on: push | |
| jobs: | |
| unit-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: | |
| - "3.11" | |
| name: unit-test | |
| runs-on: ${{ matrix.os }} | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version : ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install -r requirements.txt | |
| - name: Check if installed packages confirm with requirements.txt | |
| run: | | |
| pip freeze -r requirements.txt | |
| - name: Run tests | |
| run: | | |
| python -m unittest discover -v |