diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa3155e..e19e26e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: if: "${{ success() }}" with: github-token: "${{ secrets.GITHUB_TOKEN }}" - flag-name: "python-${{ matrix.python }}" + flag-name: "python-${{ matrix.python-version }}" parallel: true format: cobertura files: coverage.xml @@ -71,11 +71,20 @@ jobs: uses: actions/checkout@v5 - name: Install package run: | - pip install --upgrade pip setuptools + pip install --upgrade pip setuptools coverage pip install . - name: Run tests (unittest) run: | - python -m unittest discover -v || true + make coverage + - name: Coveralls upload + uses: coverallsapp/github-action@v2 + if: "${{ success() }}" + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" + flag-name: "python-2.7" + parallel: true + format: cobertura + files: coverage.xml - name: Legacy note run: echo "Python 2.7 run completed (non-blocking)."