diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 958faa67..b7929902 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -1,6 +1,8 @@
 name: package test
 
 on:
+  push:
+    branches: [main]
   pull_request:
 
 jobs:
diff --git a/README.md b/README.md
index 5bb7dd59..3d062715 100644
--- a/README.md
+++ b/README.md
@@ -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)
 
diff --git a/docs/index.rst b/docs/index.rst
index 846b9dd2..f400c793 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -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