Skip to content

Create CI

Create CI #3

Workflow file for this run

#
# Copyright 2017-2026 The OpenTracing Authors
#
# 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: CI
on:
push:
branches:
- master
- 'release-*'
pull_request:
jobs:
test:
name: Test (Spring Cloud Hoxton)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# needed by license-maven-plugin, which inspects git history
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '8'
cache: maven
- name: Build and test
run: ./mvnw clean install -B -V
- name: Submit dependency graph
uses: advanced-security/maven-dependency-submission-action@v5
classpath-no-deps:
name: Classpath (no dependencies)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '8'
cache: maven
- name: Install modules
run: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Classpath tests (nodeps)
run: ./mvnw -f opentracing-spring-cloud-starter -P nodeps clean test -B
classpath-all-deps:
name: Classpath (all dependencies)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '8'
cache: maven
- name: Install modules
run: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Classpath tests (alldeps)
run: ./mvnw -f opentracing-spring-cloud-starter -P alldeps clean test -B