From 99a05c834924660c642666c8aab6bb477d713677 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 5 May 2022 08:21:48 -0500 Subject: [PATCH] Enhance github naming --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 433c435..9592387 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,14 +2,19 @@ name: Test the components of it "on": push: + branches: + - main pull_request: jobs: validate: + name: Validate Packer templates are reasonable runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 + with: + submodules: true - name: Install packer uses: ./.github/actions/install_packer/ - name: Run syntax check @@ -20,6 +25,7 @@ jobs: done collect: + name: Collect all Ansible-related jobs runs-on: ubuntu-latest outputs: scenarios: ${{ steps.collection.outputs.tox-envs }} @@ -45,9 +51,11 @@ jobs: tox-args: --ansible-driver vagrant lint: + name: Lint Ansible code uses: devroles/meta_test/.github/workflows/lint.yml@master vagrant_build: + name: Ansible tests on VMs needs: - collect uses: devroles/meta_test/.github/workflows/vagrant_build.yml@master @@ -55,6 +63,7 @@ jobs: scenarios: "${{ needs.collect.outputs.vagrant }}" build: + name: Ansible tests on containers needs: - collect uses: devroles/meta_test/.github/workflows/container_build.yml@master