Support OTel Resource via config within SpanExporter adapter #247
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
# Much copied from sbt-github-actions, modified to support running e2e tests | |
name: Continuous Integration | |
on: | |
pull_request: | |
branches: ['*'] | |
push: | |
branches: ['master'] | |
jobs: | |
build: | |
name: Build and Test | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
scala: [2.12.18, 2.13.11] | |
java: [[email protected]] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Setup Java and Scala | |
uses: olafurpg/setup-scala@v13 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Cache ivy2 | |
uses: actions/[email protected] | |
with: | |
path: ~/.ivy2/cache | |
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Cache coursier (linux) | |
uses: actions/[email protected] | |
with: | |
path: ~/.cache/coursier/v1 | |
key: ${{ runner.os }}-sbt-coursier-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Cache sbt | |
uses: actions/[email protected] | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Run tests | |
run: sbt clean coverage test coverageReport | |
- name: Coverage Aggregate | |
run: sbt coverageAggregate | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
fail_ci_if_error: true |