diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e5622e004ea95389c7ab113d329473b882a120a8..11099fda6284e8d8b16789798ed4d6ec3c1a7138 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,7 +24,9 @@ jobs:
           chmod ugo+x test-reporter-latest-linux-amd64
           ./test-reporter-latest-linux-amd64 before-build
       - name: Test
-        run: coverage run setup.py test
+        run: |
+          python setup.py install
+          pytest -vv --cov=minijson
         env:
           DEBUG: '1'
       - name: Submit the code coverage