Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test workflows to increase readability
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
bowenlan-amzn committed Sep 30, 2023

Verified

This commit was signed with the committer’s verified signature.
fcurella Flavio Curella
1 parent a2dd769 commit 91771b5
Showing 4 changed files with 26 additions and 12 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/docker-security-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ name: Docker Security Test Workflow
on:
pull_request:
branches:
- "*"
- "**"
push:
branches:
- "*"
- "**"

jobs:
test:
docker-test:
# This job runs on Linux
runs-on: ubuntu-latest
steps:
@@ -83,3 +83,17 @@ jobs:
with:
name: logs
path: build/testclusters/integTest-*/logs/*
- name: Collect docker logs on failure
if: failure()
uses: jwalton/gh-docker-logs@v2
with:
dest: './logs'
- name: Tar logs
if: failure()
run: tar cvzf ./logs.tgz ./logs
- name: Upload logs to GitHub
if: failure()
uses: actions/upload-artifact@v2
with:
name: logs.tgz
path: ./logs.tgz
6 changes: 3 additions & 3 deletions .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@ name: Multi node test workflow
on:
pull_request:
branches:
- "*"
- "**"
push:
branches:
- "*"
- "**"

jobs:
test:
multi-node-test:
# This job runs on Linux
runs-on: ubuntu-latest
steps:
6 changes: 3 additions & 3 deletions .github/workflows/security-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@ name: Security test workflow
on:
pull_request:
branches:
- "*"
- "**"
push:
branches:
- "*"
- "**"

jobs:
test:
security-test:
# This job runs on Linux
runs-on: ubuntu-latest
steps:
6 changes: 3 additions & 3 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ name: Test and Build Workflow
on:
pull_request:
branches:
- "*"
- "**"
push:
branches:
- "*"
- "**"

jobs:
build:
test-and-build:
env:
BUILD_ARGS: ${{ matrix.os_build_args }}
WORKING_DIR: ${{ matrix.working_directory }}.

0 comments on commit 91771b5

Please sign in to comment.