From 321903f00cccb7db07f39658c649fd28ef1ddf75 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:58:17 -0500 Subject: [PATCH] drop .coveralls.yml file and set coveralls flags via env vars --- .coveralls.yml | 1 - .github/workflows/main.yml | 13 ++++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index fce062d2..00000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -service_name: github diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7aad7bea..b79865ad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.9" @@ -55,7 +55,7 @@ jobs: python-version: "3.11" os: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -95,6 +95,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_FLAG_NAME: run-${{ matrix.tox-env }} COVERALLS_PARALLEL: true + COVERALLS_SERVICE_NAME: github conda: name: Python${{ matrix.python-version }} (${{ matrix.os }}) (Conda) @@ -116,7 +117,7 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Patch Environment File if: matrix.os == 'windows-latest' run: | @@ -147,8 +148,9 @@ jobs: run: coveralls --service=github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_FLAG_NAME: run-conda + COVERALLS_FLAG_NAME: run-conda_${{ matrix.python-version }}_${{ matrix.os }} COVERALLS_PARALLEL: true + COVERALLS_SERVICE_NAME: github finish: needs: @@ -160,6 +162,7 @@ jobs: - name: Coveralls Finished run: | pip install --upgrade coveralls - coveralls --service=github --finish + coveralls --finish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_SERVICE_NAME: github