Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(qa): qa checks from single source #301

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/qa-on-pull-cert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

name: Quality Assurance (Certificates)
on:
workflow_dispatch: #manual trigger
pull_request:
types: [ opened, synchronize, reopened, edited, review_request_removed ]
jobs:
Expand All @@ -13,6 +14,15 @@ jobs:
if: contains(github.head_ref, 'onboardingRequest')
steps:
- uses: actions/checkout@v2
- name: Checkout test scripts
uses: actions/checkout@v2
with:
repository: 'WorldHealthOrganization/tng-participant-template'
path: 'ssot-tests'
- name: Copy test scripts to local directory
run: |
mkdir -p ./scripts/test
cp -rf ./ssot-tests/scripts/test/* ./scripts/test
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/qa-on-pull-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

name: Quality Assurance (Folder Structure)
on:
workflow_dispatch: #manual trigger
pull_request:
types: [ opened, synchronize, reopened, edited , review_request_removed]
jobs:
Expand All @@ -13,6 +14,15 @@ jobs:
if: contains(github.head_ref, 'onboardingRequest')
steps:
- uses: actions/checkout@v2
- name: Checkout test scripts
uses: actions/checkout@v2
with:
repository: 'WorldHealthOrganization/tng-participant-template'
path: 'ssot-tests'
- name: Copy test scripts to local directory
run: |
mkdir -p ./scripts/test
cp -rf ./ssot-tests/scripts/test/* ./scripts/test
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/qa-on-pull-review-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

name: Review Bot
on:
workflow_dispatch: #manual trigger
pull_request:
types: [ opened, synchronize, reopened, edited , review_request_removed]
jobs:
Expand All @@ -13,6 +14,15 @@ jobs:
if: contains(github.head_ref, 'onboardingRequest')
steps:
- uses: actions/checkout@v2
- name: Checkout test scripts
uses: actions/checkout@v2
with:
repository: 'WorldHealthOrganization/tng-participant-template'
path: 'ssot-tests'
- name: Copy test scripts to local directory
run: |
mkdir -p ./scripts/test
cp -rf ./ssot-tests/scripts/test/* ./scripts/test
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/qa-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Checkout test scripts
uses: actions/checkout@v2
with:
repository: 'WorldHealthOrganization/tng-participant-template'
path: 'ssot-tests'
- name: List directory contents
run: |
ls -la .
- name: Copy test scripts to local directory
run: |
mkdir -p ./scripts/tests
cp -rf ssot-tests/scripts/tests/* ./scripts/tests
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down
Loading