OSeMOSYS / otoole

OSeMOSYS Tools for Energy
https://otoole.readthedocs.io
MIT License
25 stars 19 forks source link

[FEATURE]: Switch to Coveralls Action #208

Closed trevorb1 closed 11 months ago

trevorb1 commented 11 months ago

Feature Request

Coveralls recommends using their GitHub Action for CI. Currently, we manually upload to coveralls through the following:

- name: Upload coverage data to converalls.io
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
  run: |
    pip install --upgrade coveralls
    coveralls --service=github

Is your feature related to a bug?

No response

Suggested Solution

Should be something similar to

- name: Upload coverage data to converalls.io
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
  uses: coverallsapp/github-action@v2

Additional Info

See PR #207 for a minor discussion on this topic