From f374bb38b44aed2458b69347efe7e08ced1db69c Mon Sep 17 00:00:00 2001 From: Anuj359 Date: Thu, 4 May 2023 11:16:49 +0530 Subject: [PATCH] Issue-11338 Cypress test skip for docs (#11411) * Issue-11338 Cypress test skip for docs * Updating as per review --- .../cypress-integration-tests-mysql-skip.yml | 40 +++++++++++++++++++ ...ress-integration-tests-postgresql-skip.yml | 39 ++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 .github/workflows/cypress-integration-tests-mysql-skip.yml create mode 100644 .github/workflows/cypress-integration-tests-postgresql-skip.yml diff --git a/.github/workflows/cypress-integration-tests-mysql-skip.yml b/.github/workflows/cypress-integration-tests-mysql-skip.yml new file mode 100644 index 00000000000..ba8faca0817 --- /dev/null +++ b/.github/workflows/cypress-integration-tests-mysql-skip.yml @@ -0,0 +1,40 @@ +# Copyright 2021 Collate +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: MySQL Cypress Integration Tests + +on: + push: + branches: + - main + - '0.[0-9]+.[0-9]+' + - '1.[0-9]+[0-9]+' + paths: + - 'openmetadata-docs/**' + - 'openmetadata-docs-v1/**' + pull_request_target: + types: [labeled, opened, synchronize, reopened] + paths: + - 'openmetadata-docs/**' + - 'openmetadata-docs-v1/**' + + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + os: + - ubuntu-latest + node-version: + - 16.x + steps: + - run: 'echo "Step is not required"' \ No newline at end of file diff --git a/.github/workflows/cypress-integration-tests-postgresql-skip.yml b/.github/workflows/cypress-integration-tests-postgresql-skip.yml new file mode 100644 index 00000000000..0f3f925780b --- /dev/null +++ b/.github/workflows/cypress-integration-tests-postgresql-skip.yml @@ -0,0 +1,39 @@ +# Copyright 2021 Collate +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: PostgreSQL Cypress Integration Tests + +on: + push: + branches: + - main + - '0.[0-9]+.[0-9]+' + - '1.[0-9]+[0-9]+' + paths: + - 'openmetadata-docs/**' + - 'openmetadata-docs-v1/**' + pull_request_target: + types: [labeled, opened, synchronize, reopened] + paths: + - 'openmetadata-docs/**' + - 'openmetadata-docs-v1/**' + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + os: + - ubuntu-latest + node-version: + - 16.x + steps: + - run: 'echo "Step is not required"' \ No newline at end of file