OpenMetadata/.github/workflows/ui-core-components-tests.yml

50 lines
1.4 KiB
YAML

# Copyright 2025 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: UI Core Components Tests
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- "openmetadata-ui-core-components/src/main/resources/ui/**"
- ".github/workflows/ui-core-components-tests.yml"
workflow_dispatch:
inputs:
branch:
description: "Branch to run tests on"
required: false
default: "main"
type: string
run-coverage:
description: "Generate coverage report"
required: false
default: true
type: boolean
skip-type-check:
description: "Skip TypeScript type check"
required: false
default: false
type: boolean
permissions:
contents: read
pull-requests: write
jobs:
placeholder:
name: Placeholder - No Tests
runs-on: ubuntu-latest
steps:
- name: Placeholder step
run: echo "Nothing to test"