From e826577c5dd081784c7393617b98effe934dc732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Fri, 31 Dec 2021 00:58:56 +0100 Subject: [PATCH 1/2] Rename CI job names --- .github/workflows/ci.yaml | 20 ++++++++++---------- .github/workflows/primer-test.yaml | 14 +++++--------- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4a2118b16e..2449f2fab9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -74,7 +74,7 @@ jobs: pre-commit install --install-hooks formatting: - name: Run pre-commit checks + name: checks / pre-commit runs-on: ubuntu-latest needs: prepare-base steps: @@ -116,7 +116,7 @@ jobs: pre-commit run pylint --all-files spelling: - name: Run spelling checks + name: checks / spelling runs-on: ubuntu-latest needs: prepare-base steps: @@ -146,7 +146,7 @@ jobs: pytest tests/ -k unittest_spelling prepare-tests-linux: - name: Prepare tests for Python ${{ matrix.python-version }} (Linux) + name: tests / prepare / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest strategy: matrix: @@ -188,7 +188,7 @@ jobs: pip install -U -r requirements_test.txt pytest-linux: - name: Run tests Python ${{ matrix.python-version }} (Linux) + name: tests / run / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest needs: prepare-tests-linux strategy: @@ -227,7 +227,7 @@ jobs: path: .coverage coverage: - name: Process test coverage + name: tests / process coverage runs-on: ubuntu-latest needs: ["prepare-tests-linux", "pytest-linux"] strategy: @@ -271,7 +271,7 @@ jobs: coveralls --rcfile=${{ env.COVERAGERC_FILE }} --service=github benchmark-linux: - name: Run benchmark tests Python ${{ matrix.python-version }} (Linux) + name: tests / run benchmark / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest needs: prepare-tests-linux strategy: @@ -322,7 +322,7 @@ jobs: path: .benchmarks/ prepare-tests-windows: - name: Prepare tests for Python ${{ matrix.python-version }} (Windows) + name: tests / prepare / ${{ matrix.python-version }} / Windows runs-on: windows-latest strategy: matrix: @@ -364,7 +364,7 @@ jobs: pip install -U -r requirements_test_min.txt pytest-windows: - name: Run tests Python ${{ matrix.python-version }} (Windows) + name: tests / run / ${{ matrix.python-version }} / Windows runs-on: windows-latest needs: prepare-tests-windows strategy: @@ -402,7 +402,7 @@ jobs: pytest --benchmark-disable tests/ prepare-tests-pypy: - name: Prepare tests for Python ${{ matrix.python-version }} + name: tests / prepare / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest strategy: matrix: @@ -444,7 +444,7 @@ jobs: pip install -U -r requirements_test_min.txt pytest-pypy: - name: Run tests Python ${{ matrix.python-version }} + name: tests / run / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest needs: prepare-tests-pypy strategy: diff --git a/.github/workflows/primer-test.yaml b/.github/workflows/primer-test.yaml index 54ee542821..44ee898b94 100644 --- a/.github/workflows/primer-test.yaml +++ b/.github/workflows/primer-test.yaml @@ -1,4 +1,4 @@ -name: Primer tests +name: Primer on: push: @@ -22,7 +22,7 @@ concurrency: jobs: prepare-tests-linux: - name: Prepare tests for Python ${{ matrix.python-version }} (Linux) + name: prepare / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest strategy: matrix: @@ -64,7 +64,7 @@ jobs: pip install -U -r requirements_test.txt pytest-primer-stdlib: - name: Run primer tests on stdlib Python ${{ matrix.python-version }} (Linux) + name: run on stdlib / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest needs: prepare-tests-linux strategy: @@ -98,9 +98,7 @@ jobs: pytest -m primer_stdlib --primer-stdlib -n auto pytest-primer-external-batch-one: - name: - Run primer tests batch one on external libs Python ${{ matrix.python-version }} - (Linux) + name: run on batch one / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest needs: prepare-tests-linux strategy: @@ -134,9 +132,7 @@ jobs: pytest -m primer_external_batch_one --primer-external -n auto pytest-primer-external-batch-two: - name: - Run primer tests batch two on external libs Python ${{ matrix.python-version }} - (Linux) + name: run on batch two / ${{ matrix.python-version }} / Linux runs-on: ubuntu-latest needs: prepare-tests-linux strategy: From 92b1a3902f9d54c2a150864792971c82ebc3d747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Fri, 31 Dec 2021 10:49:03 +0100 Subject: [PATCH 2/2] Update .github/workflows/ci.yaml Co-authored-by: Pierre Sassoulas --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2449f2fab9..56ff5a1c21 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -227,7 +227,7 @@ jobs: path: .coverage coverage: - name: tests / process coverage + name: tests / process / coverage runs-on: ubuntu-latest needs: ["prepare-tests-linux", "pytest-linux"] strategy: