Skip to content

Commit

Permalink
code coverage upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lspitler committed Jan 7, 2025
1 parent b4d3a6e commit 6b0734c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/pythontest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.12]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.12']
platform: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
Expand All @@ -44,4 +44,14 @@ jobs:
- name: Test with tox
run: tox
env:
PLATFORM: ${{ matrix.platform }}
PLATFORM: ${{ matrix.platform }}
- name: Upload coverage.xml
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
uses: actions/upload-artifact@v3
with:
name: tox-gh-actions-coverage
path: coverage.xml
if-no-files-found: error
- name: Upload coverage.xml to codecov
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
uses: codecov/codecov-action@v2
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ the Kamilaroi/Gamilaraay language
Australians have studied the night skies above Australia for at least 50000 years. To learn more
about Aboriginal astronomy please visit http://www.aboriginalastronomy.com.au/.

#.. image:: https://travis-ci.org/AstroHuntsman/gunagala.svg
# :target: https://travis-ci.org/AstroHuntsman/gunagala
# :alt: Travis Status
.. image:: https://github.com/AstroHuntsman/gunagala/actions/workflows/pythontest.yml/badge.svg
:target: https://github.com/AstroHuntsman/gunagala/actions
:alt: Python package tests

#.. image:: https://coveralls.io/repos/github/AstroHuntsman/gunagala/badge.svg?branch=master
# :target: https://coveralls.io/github/AstroHuntsman/gunagala?branch=master
# :alt: Coverage status
.. image:: https://coveralls.io/repos/github/AstroHuntsman/gunagala/badge.svg?branch=develop
:target: https://coveralls.io/github/AstroHuntsman/gunagala?branch=develop
:alt: Coverage status

.. image:: https://readthedocs.org/projects/gunagala/badge/?version=develop
:target: http://gunagala.readthedocs.io/en/develop/?badge=develop
:alt: Documentation Status
#.. image:: https://readthedocs.org/projects/gunagala/badge/?version=develop
# :target: http://gunagala.readthedocs.io/en/develop/?badge=develop
# :alt: Documentation Status


Development
Expand Down

0 comments on commit 6b0734c

Please sign in to comment.