Skip to content

Commit

Permalink
dummy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sawantpritam committed Aug 5, 2022
1 parent 341416f commit bb36308
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
# - It's a code change
# - A build label was just added
# A bit complex, but prevents builds when other labels are manipulated
if: >
github.event_name == 'workflow_dispatch'
|| github.event_name == 'push'
|| (contains(github.event.pull_request.labels.*.name, 'build')
&& (github.event.action != 'labeled' || github.event.label.name == 'build')
)
# if: >
# github.event_name == 'workflow_dispatch'
# || github.event_name == 'push'
# || (contains(github.event.pull_request.labels.*.name, 'build')
# && (github.event.action != 'labeled' || github.event.label.name == 'build')
# )
steps:
- uses: actions/checkout@v2.3.4
if: github.event_name != 'workflow_dispatch'
Expand All @@ -49,15 +49,15 @@ jobs:
with:
working-directory: plugin
filters: |
core-plugins:
- 'core-plugins/**'
postgresql-plugins:
- '**/**'
- name: Set modules list
id: sml
run: |
if [ ${{ github.event_name }} != 'workflow_dispatch' ]; then
echo "::set-output name=matrix::$( jq '.' --compact-output <<< '${{ steps.filter.outputs.changes }}')"
else
echo "::set-output name=matrix::['core-plugins']"
echo "::set-output name=matrix::['postgresql-plugins']"
fi
shell: bash
outputs:
Expand Down Expand Up @@ -87,7 +87,8 @@ jobs:
- name: Checkout e2e test repo
uses: actions/checkout@v2.3.4
with:
repository: cdapio/cdap-e2e-tests
repository: sawantpritam/cdap-e2e-tests
ref: db-drivers
path: e2e
- name: Cache
uses: actions/cache@v2.1.3
Expand All @@ -98,10 +99,10 @@ jobs:
${{ runner.os }}-maven-${{ github.workflow }}
- name: Run required e2e tests
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push' && steps.filter.outputs.e2e-test == 'false'
run: python3 e2e/src/main/scripts/run_e2e_test.py --module ${{ matrix.module }} --testRunner TestRunnerRequired.java
run: python3 e2e/src/main/scripts/run_e2e_test.py --module core-plugins --testRunner TestRunnerRequired.java
- name: Run all e2e tests
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true'
run: python3 e2e/src/main/scripts/run_e2e_test.py --module ${{ matrix.module }}
run: python3 e2e/src/main/scripts/run_e2e_test.py --module core-plugins --testRunner TestRunnerRequired.java
- name: Upload report
uses: actions/upload-artifact@v2.2.4
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# Copyright © 2022 Cask Data, Inc.
#
# 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.
#

@PostgreSQL_Source @File_Source_Required
Feature:PostgreSQL Source - Verify PostgreSQL driver

Scenario:Verify PostgreSQL source driver
Given Open Datafusion Project to configure pipeline
When Select plugin: "PostgreSQL" from the plugins list as: "Source"
Then Navigate to the properties page of plugin: "PostgreSQL"
Then Select dropdown plugin property: "jdbcDriverName" with option value: "postgresql"
Then Verify dropdown plugin property: "jdbcDriverName" is selected with option: "postgresql"

0 comments on commit bb36308

Please sign in to comment.