From a78ef497fff0918ec528338634980d57af6481e9 Mon Sep 17 00:00:00 2001 From: sethg Date: Sat, 9 Nov 2024 15:36:15 +0100 Subject: [PATCH] Attempt to reduce coveralls errors --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb39b0f2..21596956 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,6 @@ jobs: strategy: matrix: python-version: ["3.10", "3.11"] - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_SERVICE_NAME: github steps: - uses: actions/checkout@master - uses: actions/setup-python@v5 @@ -38,6 +35,13 @@ jobs: --deselect="tests/doctests/wms_geoserver_mass_gis.txt::wms_geoserver_mass_gis.txt" - name: run coveralls ⚙️ run: coveralls + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_PARALLEL: true + COVERALLS_FLAG_NAME: "${{ matrix.python-version }}" + COVERALLS_SERVICE_NAME: github + COVERALLS_SERVICE_JOB_ID: "${{ github.run_id }}" + COVERALLS_SERVICE_NUMBER: "${{ github.workflow }}-${{ github.run_number }}" - name: build docs 🏗️ run: cd docs && make html - name: run flake8 ⚙️