Skip to content

Commit

Permalink
Merge pull request #197 from MPoL-dev/tests_on_main
Browse files Browse the repository at this point in the history
Add package test on push to main, update coverage badge
  • Loading branch information
iancze authored Nov 3, 2023
2 parents 4676447 + 0f10137 commit fb16202
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: package test

on:
push:
branches: [main]
pull_request:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MPoL

[![Tests](https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml/badge.svg)](https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml)
[![Tests](https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml)
[![gh-pages docs](https://github.com/MPoL-dev/MPoL/actions/workflows/gh_docs.yml/badge.svg)](https://mpol-dev.github.io/MPoL/)
[![DOI](https://zenodo.org/badge/224543208.svg)](https://zenodo.org/badge/latestdoi/224543208)

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Million Points of Light (MPoL)
|Discussions badge|


.. |Tests badge| image:: https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml/badge.svg
.. |Tests badge| image:: https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml/badge.svg?branch=main
:target: https://github.com/MPoL-dev/MPoL/actions/workflows/tests.yml

.. |Discussions badge| image:: https://img.shields.io/badge/community-Github%20Discussions-orange
Expand Down

0 comments on commit fb16202

Please sign in to comment.