Skip to content

Harmonize Component test workflow #770

@MikeMcC399

Description

@MikeMcC399

Current situation

The .github/workflows/example-component-test.yml example workflow differs arbitrarily from e2e workflows, for example .github/workflows/example-config.yml

Item Component tests E2E test example-config
name Component Tests example-config
on: [push, workflow_dispatch] see below
runs-on: ubuntu-latest ubuntu-22.04

E2E action trigger:

on:
  push:
    branches:
      - 'master'
  pull_request:
  workflow_dispatch:

Suggested changes

  1. Change the name to example-component-test so that it appears sorted in the left-hand side of GH Action view together with the E2E tests.
  2. Change the trigger to be identical to E2E example triggers. This avoids the workflow running on push to branches other than master.
  3. Change the runner to the explicit Ubuntu version ubuntu-22.04. This makes it clearer exactly which version is being used and it aligns it with the default version used in all E2E tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions