mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-07 05:53:46 +00:00
use setup action for playwright e2e (#16636)
This commit is contained in:
parent
328ed2bf11
commit
d2c23171db
@ -91,7 +91,6 @@ jobs:
|
|||||||
python-version: '3.9'
|
python-version: '3.9'
|
||||||
args: "-d mysql"
|
args: "-d mysql"
|
||||||
ingestion_dependency: "all"
|
ingestion_dependency: "all"
|
||||||
timeout-minutes: 30
|
|
||||||
- name: Run Playwright Integration Tests with browser ${{ matrix.browser-type }}
|
- name: Run Playwright Integration Tests with browser ${{ matrix.browser-type }}
|
||||||
env:
|
env:
|
||||||
E2E_REDSHIFT_HOST_PORT: ${{ secrets.E2E_REDSHIFT_HOST_PORT }}
|
E2E_REDSHIFT_HOST_PORT: ${{ secrets.E2E_REDSHIFT_HOST_PORT }}
|
||||||
|
|||||||
22
.github/workflows/playwright-mysql-e2e.yml
vendored
22
.github/workflows/playwright-mysql-e2e.yml
vendored
@ -96,24 +96,12 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Setup Openmetadata Test Environment
|
||||||
if: steps.cache-output.outputs.exit-code == 0
|
uses: ./.github/actions/setup-openmetadata-test-environment
|
||||||
uses: actions/setup-java@v3
|
|
||||||
with:
|
with:
|
||||||
java-version: "17"
|
python-version: '3.9'
|
||||||
distribution: "temurin"
|
args: "-d mysql"
|
||||||
|
ingestion_dependency: "all"
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||||
|
|||||||
22
.github/workflows/playwright-postgresql-e2e.yml
vendored
22
.github/workflows/playwright-postgresql-e2e.yml
vendored
@ -96,24 +96,12 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Setup Openmetadata Test Environment
|
||||||
if: steps.cache-output.outputs.exit-code == 0
|
uses: ./.github/actions/setup-openmetadata-test-environment
|
||||||
uses: actions/setup-java@v3
|
|
||||||
with:
|
with:
|
||||||
java-version: "17"
|
python-version: '3.9'
|
||||||
distribution: "temurin"
|
args: "-d postgresql"
|
||||||
|
ingestion_dependency: "all"
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user