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

Feature/cxf 106286 #162

Merged
merged 4 commits into from
Jan 22, 2025
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/terratests-fcr-prod-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ jobs:
name: FCR Prod Suite Terraform Modules Testing Report
path: fcr_prod_suite.html
compression-level: 0

- name: Check if Tests are passed
run: sh check_tests.sh *suite.log
3 changes: 3 additions & 0 deletions .github/workflows/terratests-metal-nimf-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,6 @@ jobs:
name: Metal NIMF Prod Suite Terraform Modules Testing Report
path: metal_prod_suite.html
compression-level: 0

- name: Check if Tests are passed
run: sh check_tests.sh *suite.log
3 changes: 3 additions & 0 deletions .github/workflows/terratests-port-prod-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ jobs:
name: Port Prod Suite Terraform Modules Testing Report
path: port_prod_suite.html
compression-level: 0

- name: Check if Tests are passed
run: sh check_tests.sh *suite.log
3 changes: 3 additions & 0 deletions .github/workflows/terratests-prod-suite-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,6 @@ jobs:
name: Prod Suite ALL Terraform Modules Testing Report
path: prod_suite_all.html
compression-level: 0

- name: Check if Tests are passed
run: sh check_tests.sh *suite_all.log
7 changes: 7 additions & 0 deletions .github/workflows/terratests-uat-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
name: pnfv_test_logs
path: pnfv_test_output.log

- name: Check if Tests are passed
run: sh check_tests.sh output.log

test-PFCR:
name: Setup UAT PFCR Tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -122,8 +125,12 @@ jobs:
name: pfcr_test_logs
path: pfcr_test_output.log

- name: Check if Tests are passed
run: sh check_tests.sh output.log

upload-test-report:
name: Upload Testing Report
if: always()
needs: [test-PNFV, test-PFCR]
runs-on: ubuntu-latest

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/terratests-virtualdevice-prod-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ jobs:
name: Virtual Device Prod Suite Terraform Modules Testing Report
path: vd_prod_suite.html
compression-level: 0

- name: Check if Tests are passed
run: sh check_tests.sh *suite.log
9 changes: 9 additions & 0 deletions check_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

file=$(find . -type f -iname "*$1")

if grep -q error "$file"; then
echo "### Tests are failed !!! Please verify report and log file $file" >> $GITHUB_STEP_SUMMARY
exit 1
else
echo "### Tests are passed !!! ::rocket::" >> $GITHUB_STEP_SUMMARY
tutkat marked this conversation as resolved.
Show resolved Hide resolved
fi
Loading