Remove old locale code regexes #93
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
| # Create code coverage report in Coveralls.io. | |
| name: Coveralls.io code coverage report | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Check code coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Install Python" | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Check coverage | |
| run: uv run --dev --with coveralls coverage run --source=simplejustwatchapi -m pytest test/ | |
| - name: Upload coverage | |
| run: COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_TOKEN }} uv run --dev --with coveralls coveralls |