v3.0.0a2 Add v2-v3 migration guide #165
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: Lint and test | |
| on: | |
| schedule: | |
| - cron: "0 0 1 * *" | |
| push: | |
| paths-ignore: | |
| - ".gitignore" | |
| - "README.md" | |
| - "pre-commit-config.yaml" | |
| - "LICENSE" | |
| jobs: | |
| test: | |
| strategy: | |
| max-parallel: 6 | |
| matrix: | |
| os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] | |
| python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
| id: setup-python | |
| uses: actions/[email protected] | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache-dependency-path: pyproject.toml | |
| cache: poetry | |
| - name: Install dependencies | |
| if: steps.setup-python.outputs.cache-hit != 'true' | |
| run: poetry install | |
| - name: Lint code with black | |
| run: poetry run black --check . | |
| - name: Lint code with ruff | |
| run: poetry run ruff check . | |
| - name: Lint code with mypy | |
| run: poetry run mypy rss_parser | |
| - name: Test code with pytest | |
| run: poetry run pytest --doctest-modules |