Sfoglia il codice sorgente

carveout dedicated coveralls job

Peter Bieringer 5 mesi fa
parent
commit
29530ade4e
1 ha cambiato i file con 18 aggiunte e 1 eliminazioni
  1. 18 1
      .github/workflows/test.yml

+ 18 - 1
.github/workflows/test.yml

@@ -11,6 +11,23 @@ jobs:
           - os: windows-latest
             python-version: pypy-3.9
     runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v4
+      - uses: actions/setup-python@v5
+        with:
+          python-version: ${{ matrix.python-version }}
+      - name: Install Test dependencies
+        run: pip install tox
+      - name: Test
+        run: tox -c pyproject.toml -e py
+
+  coveralls-test:
+    strategy:
+      matrix:
+        os: [ubuntu-latest]
+        python-version: ['3.13.0']
+    runs-on: ${{ matrix.os }}
+    continue-on-error: true
     steps:
       - uses: actions/checkout@v4
       - uses: actions/setup-python@v5
@@ -31,7 +48,7 @@ jobs:
         run: coveralls --service=github
 
   coveralls-finish:
-    needs: test
+    needs: coveralls-test
     if: github.event_name == 'push'
     runs-on: ubuntu-latest
     continue-on-error: true