Skip to content

integration-test

integration-test #11

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you 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: integration-test
on:
workflow_call:
inputs:
log4j-version:
description: Version of Log4j Core
type: string
# Should point to the current 2.x snapshot version
default: 2.25.0-SNAPSHOT
log4j-repository-url:
description: Additional Maven repository
type: string
default: 'https://repository.apache.org/snapshots'
samples-ref:
description: The branch, tag or SHA of `logging-log4j-samples` to checkout
type: string
default: ${{ github.ref }}
workflow_dispatch:
inputs:
log4j-version:
description: Version of Log4j Core
# Should point to the current 2.x snapshot version
default: 2.25.0-SNAPSHOT
log4j-repository-url:
description: Additional Maven repository
default: 'https://repository.apache.org/snapshots'
samples-ref:
description: The branch, tag or SHA of `logging-log4j-samples` to checkout
type: string
default: 'refs/heads/main'
env:
MAVEN_ARGS: ${{ inputs.log4j-version }}
permissions: read-all
jobs:
jre-test:
uses: apache/logging-parent/.github/workflows/build-reusable.yaml@feature/reproducibility-check

Check failure on line 58 in .github/workflows/integration-test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration-test.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/integration-test.yaml" -> "apache/logging-parent/.github/workflows/build-reusable.yaml@feature/reproducibility-check" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
java-version: 21
maven-args: |
-Dlog4j.version=${{ inputs.log4j-version }}
-Dlog4j.repository.url=${{ inputs.log4j-repository-url }}
repository: 'apache/logging-log4j-samples'
ref: ${{ inputs.samples-ref }}
test-report-suffix: '-it'
android-test:
uses: apache/logging-log4j-samples/.github/workflows/android-reusable-test.yaml@main
with:
log4j-version: ${{ inputs.log4j-version }}
log4j-repository-url: ${{ inputs.log4j-repository-url }}
samples-ref: ${{ inputs.samples-ref }}
graalvm-test:
uses: apache/logging-log4j-samples/.github/workflows/graalvm-reusable-test.yaml@main
with:
log4j-version: ${{ inputs.log4j-version }}
log4j-repository-url: ${{ inputs.log4j-repository-url }}
samples-ref: ${{ inputs.samples-ref }}