Skip to content

Commit

Permalink
Merge pull request #7 from radionets-project/ci_codecov
Browse files Browse the repository at this point in the history
Add codecov to CI
  • Loading branch information
Kevin2 authored Oct 11, 2024
2 parents 8e103ba + 2438c75 commit 180195c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 11 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ jobs:

- name: Tests
run: |
pytest --cov
pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

docs:
runs-on: ubuntu-latest
Expand Down
10 changes: 0 additions & 10 deletions README.md

This file was deleted.

29 changes: 29 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
=========================
radiotools |ci| |codecov|
=========================

.. |ci| image:: https://github.com/radionets-project/radiotools/actions/workflows/ci.yml/badge.svg?branch=main
:target: https://github.com/radionets-project/radiotools/actions/workflows/ci.yml?branch=main
:alt: Test Status

.. |codecov| image:: https://codecov.io/github/radionets-project/radiotools/badge.svg
:target: https://codecov.io/github/radionets-project/radiotools
:alt: Code coverage


Collection of tools for use in radio astronomy.


Installation
============

*radiotools* can be installed via pip by calling

.. code::
$ pip install -e .
We recommend using a conda/mamba environment with python version ``<=3.11``.

If you want to use features from the NRAO `CASAtools <https://pypi.org/project/casatools/>`_ package,
you make sure you are using python 3.10 or 3.11.
1 change: 1 addition & 0 deletions docs/changes/7.maintenance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add Codecov report to CI

0 comments on commit 180195c

Please sign in to comment.