V0.2.1 - Playwright Format Support #27
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.9, "3.10", 3.11, 3.12, 3.13] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Poetry | |
| run: curl -sSL https://install.python-poetry.org | python3 - | |
| - name: Configure Poetry to create virtualenvs in project root | |
| run: poetry config virtualenvs.in-project true | |
| - name: Install dependencies | |
| run: poetry install --no-root | |
| - name: Type check with mypy | |
| run: poetry run mypy proxyproviders | |
| - name: Run unit tests with coverage (excluding integration tests) | |
| run: | | |
| poetry run coverage run -m pytest tests/ --ignore=tests/integration -v | |
| poetry run coverage report --fail-under=95 | |
| poetry run coverage xml | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: davidteather/proxyproviders | |
| files: ./coverage.xml |