Skip to content

Commit

Permalink
use setup action for playwright e2e (#16636)
Browse files Browse the repository at this point in the history
  • Loading branch information
sushi30 authored Jun 12, 2024
1 parent 328ed2b commit d2c2317
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 35 deletions.
1 change: 0 additions & 1 deletion .github/workflows/playwright-integration-tests-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ jobs:
python-version: '3.9'
args: "-d mysql"
ingestion_dependency: "all"
timeout-minutes: 30
- name: Run Playwright Integration Tests with browser ${{ matrix.browser-type }}
env:
E2E_REDSHIFT_HOST_PORT: ${{ secrets.E2E_REDSHIFT_HOST_PORT }}
Expand Down
22 changes: 5 additions & 17 deletions .github/workflows/playwright-mysql-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,12 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set up JDK 17
if: steps.cache-output.outputs.exit-code == 0
uses: actions/setup-java@v3
- name: Setup Openmetadata Test Environment
uses: ./.github/actions/setup-openmetadata-test-environment
with:
java-version: "17"
distribution: "temurin"

- name: Generating Data Models
run: |
pip install --upgrade pip
sudo make install_antlr_cli
make install_dev generate
- name: Start Server and Ingest Sample Data
env:
INGESTION_DEPENDENCY: "all"
run: ./docker/run_local_docker.sh -d mysql
timeout-minutes: 60
python-version: '3.9'
args: "-d mysql"
ingestion_dependency: "all"

- name: Install dependencies
working-directory: openmetadata-ui/src/main/resources/ui/
Expand Down
22 changes: 5 additions & 17 deletions .github/workflows/playwright-postgresql-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,12 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set up JDK 17
if: steps.cache-output.outputs.exit-code == 0
uses: actions/setup-java@v3
- name: Setup Openmetadata Test Environment
uses: ./.github/actions/setup-openmetadata-test-environment
with:
java-version: "17"
distribution: "temurin"

- name: Generating Data Models
run: |
pip install --upgrade pip
sudo make install_antlr_cli
make install_dev generate
- name: Start Server and Ingest Sample Data
env:
INGESTION_DEPENDENCY: "all"
run: ./docker/run_local_docker.sh -d postgresql
timeout-minutes: 60
python-version: '3.9'
args: "-d postgresql"
ingestion_dependency: "all"

- name: Install dependencies
working-directory: openmetadata-ui/src/main/resources/ui/
Expand Down

0 comments on commit d2c2317

Please sign in to comment.