Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Jun 10, 2024
1 parent ffce3cf commit dff0d06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cicd-dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: ./.github/workflows/reusable-dev-acc.yml
# needs: [test-datasouces]
needs: [test-provider]
if: "always()"
# if: "always()"
with:
test_case: TestVmaasInstance TestAccResourceInstance
test_description: Instance usecase validations
Expand All @@ -35,7 +35,7 @@ jobs:
uses: ./.github/workflows/reusable-dev-acc.yml
# needs: [test-vmaas-instance]
needs: [test-provider]
if: "always()"
# if: "always()"
with:
test_case: TestVmaasLB TestAccResourceLB TestVmaasLoadBalancerPlan TestAccResourceLoadBalancerCreate
test_description: Loadbalancer usecase validations
Expand All @@ -45,16 +45,15 @@ jobs:
uses: ./.github/workflows/reusable-dev-acc.yml
# needs: [test-vmaas-lb]
needs: [test-provider]
if: "always()"
# if: "always()"
with:
test_case: TestVmaasNetworkPlan TestAccResourceNetworkCreate TestAccResourceRouter TestVmaasRouter TestAccResourceTier TestVmaasRouteBGPNeighborPlan
test_description: NSX Network usecase validations
secrets: inherit

process-logs:
runs-on: ubuntu-20.04
needs:
- test-vmaas-network
needs: [test-vmaas-network, test-vmaas-lb, test-vmaas-instance, test-datasouces]
if: "always()"
steps:
- name: Checkout workspace
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ coverage: vendor
ACC_TEST_FILE_LOCATION=github.com/HewlettPackard/hpegl-vmaas-terraform-resources/internal/acceptance_test
acceptance:
@if [ "${case}" != "" ]; then \
TF_ACC=true go test -parallel 1 -run $(case) -v -timeout=20000s -cover $(ACC_TEST_FILE_LOCATION); \
TF_ACC=true go test -parallel 2 -run $(case) -v -timeout=20000s -cover $(ACC_TEST_FILE_LOCATION); \
else \
TF_ACC=true go test -parallel 4 -v -timeout=50000s -cover $(ACC_TEST_FILE_LOCATION);\
fi
Expand Down

0 comments on commit dff0d06

Please sign in to comment.