Merge pull request #491 from afuetterer/474-bs4-version #27
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: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.10", "3.12", "3.14"] | |
| include: | |
| - os: windows-latest | |
| python-version: "3.14" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install . --group=tests | |
| python -m pip list | |
| - name: Run tests | |
| run: | | |
| coverage run -m pytest | |
| coverage report | |
| - name: Coveralls parallel | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| flag-name: coverage-python-${{ matrix.python-version }} | |
| parallel: true | |
| base-path: tika | |
| finish-coverage: | |
| needs: test | |
| if: always() | |
| runs-on: ubuntu-slim | |
| steps: | |
| - name: Coveralls finished | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| parallel-finished: true | |
| base-path: tika |