From 15f156e8c740dfee30d048568e7200ea533d7d1f Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Thu, 10 Feb 2022 11:13:04 +0000 Subject: [PATCH] Use more descriptive names for GitHub Checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The existing checks didn't read well in the `gh` cli: ❯ gh pr checks All checks were successful 0 failing, 7 successful, 0 skipped, and 0 pending checks ✓ DCO https://probot.github.io/apps/dco/ ✓ Docs 6m37s https://github.com/dagger/dagger/runs/5136044870?check_suite_focus=true ✓ Everything 1m43s https://github.com/dagger/dagger/runs/5136044863?check_suite_focus=true ✓ Integration 4m10s https://github.com/dagger/dagger/runs/5136044871?check_suite_focus=true ✓ Universe 11m6s https://github.com/dagger/dagger/runs/5136044860?check_suite_focus=true ✓ Universe - Europa 3m18s https://github.com/dagger/dagger/runs/5136044932?check_suite_focus=true ✓ netlify/devel-docs-dagge... https://app.netlify.com/sites/devel-docs-dagger-io/deploys/620499ee88ee240008b6cabf This change gives them more descriptive names: ❯ gh pr checks All checks were successful 0 failing, 8 successful, 0 skipped, and 0 pending checks ✓ DCO https://probot.github.io/apps/dco/ ✓ Integration Tests 4m22s https://github.com/dagger/dagger/runs/5139842686?check_suite_focus=true ✓ Lint 1m29s https://github.com/dagger/dagger/runs/5139842774?check_suite_focus=true ✓ Test Docs 7m44s https://github.com/dagger/dagger/runs/5139842682?check_suite_focus=true ✓ Unit Tests 2m11s https://github.com/dagger/dagger/runs/5139842684?check_suite_focus=true ✓ Universe Tests 13m14s https://github.com/dagger/dagger/runs/5139842932?check_suite_focus=true ✓ Universe Tests - Europa 2m36s https://github.com/dagger/dagger/runs/5139842678?check_suite_focus=true ✓ netlify/devel-docs-dagger-io/deploy... https://deploy-preview-1593--devel-docs-dagger-io.netlify.app Signed-off-by: Gerhard Lazu --- .github/workflows/lint.yml | 4 ++-- .github/workflows/release.yml | 3 ++- .github/workflows/test-docs.yml | 4 ++-- .github/workflows/test-integration.yml | 4 ++-- .github/workflows/test-unit.yml | 4 ++-- .github/workflows/test-universe.yml | 8 ++++---- .github/workflows/{website.yml => test-website.yml} | 11 ++++------- 7 files changed, 18 insertions(+), 20 deletions(-) rename .github/workflows/{website.yml => test-website.yml} (90%) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8dbe1c81..fe327790 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,8 +27,8 @@ on: - '.github/workflows/lint.yml' jobs: - everything: - name: Everything + lint: + name: Lint runs-on: ubuntu-latest steps: - name: "Check out" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b711c5cf..effe4c39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,8 @@ on: - v* jobs: - goreleaser: + release: + name: "Release" runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 7b92576e..b7c5c105 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -19,8 +19,8 @@ on: - '.github/workflows/test-docs.yml' jobs: - docs: - name: Docs + test-docs: + name: "Test Docs" runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index b876945c..4bfc78a9 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -25,8 +25,8 @@ on: - '.github/workflows/test-integration.yml' jobs: - integration: - name: Integration + test-integration: + name: "Integration Tests" runs-on: ubuntu-latest timeout-minutes: 30 steps: diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 2cba616b..3869bfca 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -19,8 +19,8 @@ on: - '.github/workflows/test-unit.yml' jobs: - unit: - name: Unit + unit-tests: + name: "Unit Tests" runs-on: ubuntu-latest timeout-minutes: 30 steps: diff --git a/.github/workflows/test-universe.yml b/.github/workflows/test-universe.yml index 3ae36318..7b1cb0e3 100644 --- a/.github/workflows/test-universe.yml +++ b/.github/workflows/test-universe.yml @@ -25,8 +25,8 @@ on: - '.github/workflows/test-universe.yml' jobs: - universe: - name: Universe + universe-tests: + name: "Universe Tests" runs-on: ubuntu-latest timeout-minutes: 30 services: @@ -85,8 +85,8 @@ jobs: run: | make universe-test - universe-europa: - name: "Universe - Europa" + universe-europa-tests: + name: "Universe Tests - Europa" runs-on: ubuntu-latest timeout-minutes: 30 steps: diff --git a/.github/workflows/website.yml b/.github/workflows/test-website.yml similarity index 90% rename from .github/workflows/website.yml rename to .github/workflows/test-website.yml index 6067090e..1be32e39 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/test-website.yml @@ -1,21 +1,18 @@ -name: Website +# TODO: https://github.com/dagger/dagger.io/issues/45 +name: "Test Website" on: push: branches: [main] paths: - "website/**" - pull_request: - branches: [main] - paths: - - "website/**" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: - website: - name: Website + test-website: + name: "Test Website" runs-on: ubuntu-latest steps: - name: Checkout