mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-03 19:16:10 +00:00
Update the playwright workflow for the PRs to omit the nightly only tests (#20831)
This commit is contained in:
parent
72b4ac486d
commit
aafb0514a5
4
.github/workflows/playwright-mysql-e2e.yml
vendored
4
.github/workflows/playwright-mysql-e2e.yml
vendored
@ -107,9 +107,9 @@ jobs:
|
||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||
run: |
|
||||
if [[ "${{ contains(github.event.pull_request.changed_files, 'ingestion/') }}" == "true" ]]; then
|
||||
npx playwright test --grep @ingestion --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
npx playwright test --grep-invert @nightlyOnlyTests --grep @ingestion --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
else
|
||||
npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
npx playwright test --grep-invert @nightlyOnlyTests --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
fi
|
||||
env:
|
||||
PLAYWRIGHT_IS_OSS: true
|
||||
|
||||
@ -106,9 +106,9 @@ jobs:
|
||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||
run: |
|
||||
if [[ "${{ contains(github.event.pull_request.changed_files, 'ingestion/') }}" == "true" ]]; then
|
||||
npx playwright test --grep @ingestion --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
npx playwright test --grep-invert @nightlyOnlyTests --grep @ingestion --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
else
|
||||
npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
npx playwright test --grep-invert @nightlyOnlyTests --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||
fi
|
||||
env:
|
||||
PLAYWRIGHT_IS_OSS: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user