[Cpp Parser] parse function template #1142
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ******************************************************************************* | |
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | |
| # | |
| # See the NOTICE file(s) distributed with this work for additional | |
| # information regarding copyright ownership. | |
| # | |
| # This program and the accompanying materials are made available under the | |
| # terms of the Apache License Version 2.0 which is available at | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # ******************************************************************************* | |
| name: Run Tests | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| concurrency: | |
| group: tests-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| ANDROID_HOME: "" | |
| ANDROID_SDK_ROOT: "" | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| tooling_checks: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| actions: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7.0.1 | |
| - name: Free Disk Space (Ubuntu) | |
| uses: eclipse-score/more-disk-space@v1 | |
| with: | |
| level: 4 | |
| - uses: castler/setup-bazel@cache-optimized | |
| with: | |
| bazelisk-cache: true | |
| disk-cache: tooling_checks | |
| repository-cache: true | |
| cache-optimized: true | |
| cache-save: ${{ github.ref == 'refs/heads/main' }} | |
| - name: Run coverage module tests | |
| run: | | |
| bazel test //coverage/tests:all | |
| - name: Run Plantuml Tooling clippy | |
| run: | | |
| bazel build //plantuml/... --config=clippy | |
| - name: Run Plantuml Tooling tests | |
| run: | | |
| bazel test //plantuml/... | |
| - name: Run Validation Tooling clippy | |
| run: | | |
| bazel build //validation/... --config=clippy | |
| - name: Run Validation Tooling tests | |
| run: | | |
| bazel test //validation/... | |
| - name: Ensure correct dependency resolution | |
| run: | | |
| bazel mod deps --lockfile_mode=update | |
| - name: Run Libclang Parser Tooling clippy | |
| run: | | |
| bazel build //cpp/libclang/... --config=clippy | |
| - name: Run Libclang Parser Tooling tests | |
| run: | | |
| bazel test //cpp/libclang/... | |
| integration_tests: | |
| name: integration_tests (${{ matrix.name }}) | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| actions: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: python_basics | |
| run: | | |
| cd python_basics/integration_tests | |
| bazel test //... | |
| - name: starpls | |
| run: | | |
| cd starpls/integration_tests | |
| bazel test //... | |
| - name: cr_checker | |
| run: | | |
| cd cr_checker/tests | |
| bazel test //... | |
| - name: coverage | |
| run: | | |
| coverage/integration_tests/run_integration_test.sh | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7.0.1 | |
| - name: Free Disk Space (Ubuntu) | |
| uses: eclipse-score/more-disk-space@v1 | |
| with: | |
| level: 4 | |
| - uses: castler/setup-bazel@cache-optimized | |
| with: | |
| bazelisk-cache: true | |
| disk-cache: integration_tests-${{ matrix.name }} | |
| repository-cache: true | |
| cache-optimized: true | |
| cache-save: ${{ github.ref == 'refs/heads/main' }} | |
| - name: Run ${{ matrix.name }} | |
| run: ${{ matrix.run }} | |
| rules_score_tests: | |
| name: rules_score_tests (${{ matrix.name }}) | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| actions: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: rules_score | |
| run: | | |
| cd bazel/rules/rules_score/test | |
| bazel test //... | |
| - name: seooc_example | |
| run: | | |
| cd bazel/rules/rules_score/examples/seooc | |
| bazel build //... | |
| bazel test //... | |
| - name: integrator_example | |
| run: | | |
| cd bazel/rules/rules_score/examples/integrator | |
| bazel build //... | |
| bazel test //... | |
| - name: some_other_library_example | |
| run: | | |
| cd bazel/rules/rules_score/examples/some_other_library | |
| bazel build //... | |
| bazel test //... | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7.0.1 | |
| - name: Free Disk Space (Ubuntu) | |
| uses: eclipse-score/more-disk-space@v1 | |
| with: | |
| level: 4 | |
| - uses: castler/setup-bazel@cache-optimized | |
| with: | |
| bazelisk-cache: true | |
| disk-cache: rules_score_tests-${{ matrix.name }} | |
| repository-cache: true | |
| cache-optimized: true | |
| cache-save: ${{ github.ref == 'refs/heads/main' }} | |
| - name: Run ${{ matrix.name }} | |
| run: ${{ matrix.run }} |