testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

export code coverage (e.g. to codecov)

Open alexanderankin opened this issue 1 year ago • 4 comments

get us a new fancy badge! splitting conversation from https://github.com/testcontainers/testcontainers-python/pull/460/files#r1536760017

alexanderankin avatar Apr 17 '24 10:04 alexanderankin

  1. I Think we need some extra permissions on the repo to be able to use coveralls or codecov
  2. On a more positive note, I think I can get the workflow ready (mainly combine the reports from the different python versions). I'll create a PR so you can see, hopefully its all that is needed except the actual integration with the external service. After that it should be just a matter of adding
    - name: Upload coverage reports to Codecov
      uses: codecov/codecov-action
      env:
        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Tranquility2 avatar May 27 '24 22:05 Tranquility2

Maybe I was very wrong? https://app.codecov.io/gh/testcontainers/testcontainers-python Its already configured (or was configured?)

Tranquility2 avatar May 28 '24 06:05 Tranquility2

Maybe I was very wrong? https://app.codecov.io/gh/testcontainers/testcontainers-python Its already configured (or was configured?)

yes exactly, this is looking at the wrong branch

alexanderankin avatar May 28 '24 10:05 alexanderankin

master needs to be replaced with main right? so its only someone with access to the project as far as I can tell

Tranquility2 avatar May 28 '24 11:05 Tranquility2

I think this can be closed, we have https://github.com/testcontainers/testcontainers-python/issues/657 for the final step

Tranquility2 avatar Aug 01 '24 06:08 Tranquility2

Closing with regards to #657.

kiview avatar Aug 01 '24 08:08 kiview