NH-55892 upload workflow #4
Workflow file for this run
This file contains 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
name: CI Contrib | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
propagators: | |
strategy: | |
fail-fast: false | |
matrix: | |
gem: | |
- ottrace | |
- xray | |
os: | |
- ubuntu-latest | |
name: "propagator-${{ matrix.gem }} / ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Test Ruby 3.2" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-propagator-${{ matrix.gem }}" | |
ruby: "3.2" | |
- name: "Test Ruby 3.1" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-propagator-${{ matrix.gem }}" | |
ruby: "3.1" | |
- name: "Test Ruby 3.0" | |
if: "${{ matrix.os == 'ubuntu-latest' }}" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-propagator-${{ matrix.gem }}" | |
ruby: "3.0" | |
yard: true | |
rubocop: true | |
build: true | |
- name: "Test JRuby" | |
if: "${{ matrix.os == 'ubuntu-latest' }}" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-propagator-${{ matrix.gem }}" | |
ruby: "jruby-9.4.2.0" | |
resource-detectors: | |
strategy: | |
fail-fast: false | |
matrix: | |
gem: | |
- resource-detector-azure | |
- resource-detector-container | |
- resource-detector-google_cloud_platform | |
os: | |
- ubuntu-latest | |
name: "opentelemetry-${{ matrix.gem }} / ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Test Ruby 3.2" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-${{ matrix.gem }}" | |
ruby: "3.2" | |
- name: "Test Ruby 3.1" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-${{ matrix.gem }}" | |
ruby: "3.1" | |
- name: "Test Ruby 3.0" | |
if: "${{ matrix.os == 'ubuntu-latest' }}" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-${{ matrix.gem }}" | |
yard: true | |
rubocop: true | |
build: true | |
ruby: "3.0" | |
- name: "Test JRuby" | |
if: "${{ matrix.os == 'ubuntu-latest' }}" | |
uses: ./.github/actions/test_gem | |
with: | |
gem: "opentelemetry-${{ matrix.gem }}" | |
ruby: "jruby-9.4.2.0" |