sotopia-lab / sotopia

Sotopia: an Open-ended Social Learning Environment (ICLR 2024 spotlight)
https://docs.sotopia.world
MIT License
127 stars 16 forks source link

support codecov #100

Closed lwaekfjlk closed 2 weeks ago

lwaekfjlk commented 2 weeks ago

Closes #81

📑 Description

More setting related to CodeCov ( https://app.codecov.io/ ) needs to be done on repo author's side. @ProKil

✅ Checks

ℹ Additional Information

ProKil commented 2 weeks ago

hi @lwaekfjlk I have added a CODECOV_TOKEN to the secrets, and codecov asks me to add a new github action:

- name: Upload coverage reports to Codecov
  uses: codecov/codecov-action@v4.0.1
  with:
    token: ${{ secrets.CODECOV_TOKEN }}

Could you help with adding this github action?

lwaekfjlk commented 2 weeks ago

ok, will do later.

lwaekfjlk commented 2 weeks ago

@ProKil Please help check the codecov report.

ProKil commented 2 weeks ago

Thanks! Would this be displayed on the readme.md?

lwaekfjlk commented 2 weeks ago

for badge, should look something like this:

CodeCov

codecov[bot] commented 2 weeks ago

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered :open_umbrella: