Skip to content

Commit

Permalink
adding test badge
Browse files Browse the repository at this point in the history
  • Loading branch information
danmoser committed Apr 11, 2024
1 parent b8c1741 commit 1d74adc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run tests
name: Tests

on:
push:
Expand Down Expand Up @@ -26,7 +26,7 @@ jobs:
python setup.py install
- name: Test with pytest
run: |
pip install pytest pytest-cov
pip install pytest
pytest --junitxml=junit/test-results.xml
# pip install pytest-cov
# pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ pyhdust
========
**Analysis tools for multi-technique astronomical data and** *hdust* **models**.

|Tests|

.. |Tests| image:: https://github.com/danmoser/pyhdust/actions/workflows/main.yaml/badge.svg
:target: https://github.com/danmoser/pyhdust/actions/workflows/main.yaml

Full documentation at `pyhdust.readthedocs.io <http://pyhdust.readthedocs.io>`_.

About *hdust* code: Carciofi & Bjorkman (`2006 <http://adsabs.harvard.edu/abs/2006ApJ...639.1081C>`_, `2008 <http://adsabs.harvard.edu/abs/2008ApJ...684.1374C>`_).
Expand Down
5 changes: 4 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ Welcome to **pyhdust** documentation!
=============================================================
**Analysis tools for multi-technique astronomical data and** *hdust* **models**. About the *hdust* code, see Carciofi & Bjorkman (`2006 <http://adsabs.harvard.edu/abs/2006ApJ...639.1081C>`_, `2008 <http://adsabs.harvard.edu/abs/2008ApJ...684.1374C>`_).

Pyhdust is currently at **version 1.5.12-1**.
Pyhdust is currently at **version 1.5.12-1**. |Tests|

.. |Tests| image:: https://github.com/danmoser/pyhdust/actions/workflows/main.yaml/badge.svg
:target: https://github.com/danmoser/pyhdust/actions/workflows/main.yaml

**pyhdust** should be independent of plataform (Linux, Mac, Windows) and compatible with any version of Python (3.6+).

Expand Down

0 comments on commit 1d74adc

Please sign in to comment.