|
| 1 | +# ******************************************************************************* |
| 2 | +# Copyright (c) 2025 Contributors to the Eclipse Foundation |
| 3 | +# |
| 4 | +# See the NOTICE file(s) distributed with this work for additional |
| 5 | +# information regarding copyright ownership. |
| 6 | +# |
| 7 | +# This program and the accompanying materials are made available under the |
| 8 | +# terms of the Apache License Version 2.0 which is available at |
| 9 | +# https://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# SPDX-License-Identifier: Apache-2.0 |
| 12 | +# ******************************************************************************* |
| 13 | + |
| 14 | +name: Run Consumer Tests |
| 15 | +on: |
| 16 | + pull_request: |
| 17 | + types: [opened, reopened, synchronize] |
| 18 | +jobs: |
| 19 | + code: |
| 20 | + runs-on: ubuntu-latest |
| 21 | + steps: |
| 22 | + - name: Approving Workflow |
| 23 | + - uses: pavlospt/manual-approval@v2 |
| 24 | + with: |
| 25 | + secret: ${{ github.TOKEN }} |
| 26 | + approvers: MaximilianSoerenPollak, AlexanderLanin, dcalavrezo-qorix |
| 27 | + minimum-approvals: 1 |
| 28 | + issue-title: "Consumer Tests for Docs-As-Code." |
| 29 | + issue-body: "Please approve or deny the running of the consumer tests." |
| 30 | + exclude-workflow-initiator-as-approver: false |
| 31 | + additional-approved-words: '' |
| 32 | + additional-denied-words: '' |
| 33 | + - name: Checkout repository |
| 34 | + uses: actions/checkout@v4.2.2 |
| 35 | + |
| 36 | + - name: Run consumer tests |
| 37 | + run: | |
| 38 | + bazel run //src:ide_support |
| 39 | + .venv/bin/python -m pytest -s -v src/tests/ |
0 commit comments