diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba86c5ee..df56ade1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9"] + python-version: ["3.10", "3.12", "3.14"] steps: - uses: actions/checkout@v5 @@ -20,6 +20,7 @@ jobs: uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + cache: pip - name: Install dependencies run: | @@ -30,9 +31,18 @@ jobs: - name: Run tests run: pytest -ra --cov=tika - - name: Upload coverage to Coveralls - if: success() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - coveralls + - name: Coveralls parallel + uses: coverallsapp/github-action@v2 + with: + flag-name: coverage-python-${{ matrix.python-version }} + parallel: true + + finish-coverage: + needs: test + if: ${{ always() }} + runs-on: ubuntu-slim + steps: + - name: Coveralls finished + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true diff --git a/requirements.txt b/requirements.txt index 8f52d2e5..8b0ec553 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ setuptools requests -pyyaml==5.4.1 coveralls pytest-cov memory_profiler