Skip to content

Commit

Permalink
test Integration Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nasir19noor committed Jan 17, 2025
1 parent 8b06229 commit 80d258a
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/java-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,37 +139,37 @@ jobs:
# - name: Cleanup Java Environment
# uses: ./.github/actions/cleanup-java-env
# if: always()
# java_integration_tests_templates:
# name: Dataflow Templates Integration Tests
# # needs: [java_integration_smoke_tests_templates]
# timeout-minutes: 240
# # Run on any runner that matches all the specified runs-on values.
# runs-on: [self-hosted, it]
# steps:
# - name: Checkout Code
# uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
# - name: Setup Environment
# id: setup-env
# uses: ./.github/actions/setup-env
# - name: Run Integration Tests
# run: mvn clean verify -PtemplatesIntegrationTests -pl v2/spanner-to-sourcedb -am -Dtest=SpannerToSourceDbCustomTransformationIT -Dcheckstyle.skip -Dspotless.check.skip=true -DartifactBucket="ollion-teleport-testing" -Dproject="daring-fiber-439305-v4" -Dregion=asia-south1 -DspannerInstanceId="spanner-demo"
# # |
# # ./cicd/run-it-tests \
# # --modules-to-build="v2/spanner-to-sourcedb" \
# # --it-region="asia-south1" \
# # --it-project="daring-fiber-439305-v4" \
# # --it-artifact-bucket="ollion-teleport-testing" \
# # --it-private-connectivity="datastream-private-connect-asia-south1"
# - name: Upload Integration Tests Report
# uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
# if: always() # always run even if the previous step fails
# with:
# name: surefire-test-results
# path: '**/surefire-reports/TEST-*.xml'
# retention-days: 1
# - name: Cleanup Java Environment
# uses: ./.github/actions/cleanup-java-env
# if: always()
java_integration_tests_templates:
name: Dataflow Templates Integration Tests
# needs: [java_integration_smoke_tests_templates]
timeout-minutes: 240
# Run on any runner that matches all the specified runs-on values.
runs-on: [self-hosted, it]
steps:
- name: Checkout Code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Setup Environment
id: setup-env
uses: ./.github/actions/setup-env
- name: Run Integration Tests
run: mvn clean verify -PtemplatesIntegrationTests -pl v2/spanner-to-sourcedb -am -Dcheckstyle.skip -Dspotless.check.skip=true -DartifactBucket="ollion-teleport-testing" -Dproject="daring-fiber-439305-v4" -Dregion=asia-south1 -DspannerInstanceId="spanner-demo"
# |
# ./cicd/run-it-tests \
# --modules-to-build="v2/spanner-to-sourcedb" \
# --it-region="asia-south1" \
# --it-project="daring-fiber-439305-v4" \
# --it-artifact-bucket="ollion-teleport-testing" \
# --it-private-connectivity="datastream-private-connect-asia-south1"
- name: Upload Integration Tests Report
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: always() # always run even if the previous step fails
with:
name: surefire-test-results
path: '**/surefire-reports/TEST-*.xml'
retention-days: 1
- name: Cleanup Java Environment
uses: ./.github/actions/cleanup-java-env
if: always()
java_load_tests_templates:
# if: contains(github.event.pull_request.labels.*.name, 'run-load-tests')
name: Dataflow Templates Load Tests
Expand Down

0 comments on commit 80d258a

Please sign in to comment.