Skip to content

Commit

Permalink
Adjust workflow names for clarity (#1665)
Browse files Browse the repository at this point in the history
Adjusts job names to make it clearer in the GHA UI which tests are
actually running:

Before:


![image](https://github.com/pulumi/examples/assets/274700/b99982f1-3d41-460c-bae6-9e68fe9e26e5)

After:


![image](https://github.com/pulumi/examples/assets/274700/3e7bce16-7018-48b7-ab46-d7c94899f882)
  • Loading branch information
cnunciato committed Jul 8, 2024
1 parent e7ba319 commit 7f8c670
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
lint-ts:
name: TypeScript lint checks
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand All @@ -33,6 +34,7 @@ jobs:
tslint -c tslint.json **/*.ts
unit-ts:
name: TypeScript unit tests
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand All @@ -49,13 +51,14 @@ jobs:
aws-role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run unit tests
- name: unit tests
working-directory: testing-unit-ts/mocha
run: |
npm install
npm test
unit-py:
name: Python unit tests
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand All @@ -72,13 +75,14 @@ jobs:
aws-role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run unit tests
- name: unit tests
working-directory: testing-unit-py
run: |
pip install -r requirements.txt
python -m pytest
unit-go:
name: Go unit tests
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand All @@ -95,11 +99,12 @@ jobs:
aws-role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run unit tests
- name: unit tests
working-directory: testing-unit-go
run: go test

unit-dotnet:
name: .NET unit tests
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand All @@ -116,7 +121,7 @@ jobs:
aws-role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run unit tests
- name: unit tests
working-directory: ${{ matrix.source-dir }}
run: |
dotnet test
Expand All @@ -130,6 +135,7 @@ jobs:
- testing-unit-fs-mocks

providers:
name: ${{ matrix.clouds }}${{ matrix.languages }} integration tests
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand All @@ -147,7 +153,7 @@ jobs:
aws-role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run ${{ matrix.clouds }}${{ matrix.languages }} Tests
- name: Run tests
run: make specific_test_set TestSet=${{ matrix.clouds }}${{ matrix.languages }}
env:
AWS_ACCESS_KEY_ID: ${{ steps.setup.outputs.aws-access-key-id }}
Expand Down Expand Up @@ -190,6 +196,7 @@ jobs:
- Fs

kubernetes:
name: Kubernetes integration tests
runs-on: pulumi-ubuntu-8core
permissions:
id-token: write
Expand Down

0 comments on commit 7f8c670

Please sign in to comment.