diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index c7ca55a12b3dfbd4af3066e4d8bc7ce4faf70a58..76c725eb78a21b07e1797f017e925d5cb0f86326 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -1,11 +1,13 @@
+name: Tests
+on: [push, pull_request]
 jobs:
   tests:
-      on: push
-      runs-on: ubuntu-latest
-      steps:
-          - run: pip3 install -e . --no-deps
-          - run: pytest-3
-      coverage: '/^TOTAL.+?(\d+\%)$/'
-      artifacts:
-          paths:
-              - htmlcov/
\ No newline at end of file
+    name: Tests
+    runs-on: ubuntu-latest
+    steps:
+        - run: pip3 install -e . --no-deps
+        - run: pytest-3
+    coverage: '/^TOTAL.+?(\d+\%)$/'
+    artifacts:
+        paths:
+            - htmlcov/
\ No newline at end of file