Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support changing the title to support posting coverage reports when running multiple versions of Python #320

Open
RobertDeRose opened this issue Sep 26, 2024 · 0 comments

Comments

@RobertDeRose
Copy link
Contributor

Like the title says, it would be nice if the title of the post could be updated to include the version of Python that the test were run against. So if we use GitHub Workflows ability to run a matrix like so:

jobs:
  tests:
    runs-on: ubuntu-20.04
    if: github.event.pull_request.draft == false
    strategy:
      matrix:
        python-version: ["3.8", "3.10"]

We could either have multiple comments, or since it appears the action already looks for an existing comment with the title "Python Coverage", that the table could be updated to include the report with the specific python version run with.

including a switch like python-version: ${{ matrix.python-version }} would be nice for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant