From 5377e5553fb8d59727ce8b391b6aa6aa75e19c54 Mon Sep 17 00:00:00 2001
From: Baptiste Bauvin <baptiste.bauvin@lis-lab.fr>
Date: Thu, 28 Oct 2021 08:20:50 -0400
Subject: [PATCH] trying jobs

---
 .github/workflows/tests.yml | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index c7ca55a1..76c725eb 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
-- 
GitLab