Skip to content

add smoke test

add smoke test #257

Workflow file for this run

# *******************************************************************************

Check failure on line 1 in .github/workflows/test_and_docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_and_docs.yml

Invalid workflow file

(Line: 60, Col: 13): Job 'smoke' depends on unknown job 'docs-build'.
# Copyright (c) 2025 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: Tests, Verify and Build Docs
permissions:
contents: write
pages: write
pull-requests: write
id-token: write
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- main
merge_group:
types: [checks_requested]
jobs:
docs-verify:
uses: eclipse-score/cicd-workflows/.github/workflows/docs-verify.yml@main
permissions:
pull-requests: write
contents: read
with:
bazel-docs-verify-target: "//:docs_check"
# This is the user configurable part of the workflow
unit-tests:
uses: ./.github/workflows/test.yml
secrets: inherit
# docs-build:
# # Waits for consumer-tests but run only when docs verification succeeded
# needs: [docs-verify, unit-tests]
# if: ${{ always() && needs.docs-verify.result == 'success' }}
# uses: eclipse-score/cicd-workflows/.github/workflows/docs.yml@main
# permissions:
# contents: write
# pages: write
# pull-requests: write
# id-token: write
# with:
# bazel-target: "//:docs -- --github_user=${{ github.repository_owner }} --github_repo=${{ github.event.repository.name }}"
# retention-days: 3
# tests-report-artifact: tests-report
smoke:
needs: [docs-build]
if: ${{ always() && needs.docs-build.result == 'success' }}
uses: eclipse-score/reference_integration/.github/workflows/reusable_smoke-test.yml@main
with:
repo_runner_labels: ubuntu-latest
module_name: score_docs_as_code
target_branch: main