feat: Add Dependency Injection and Hosting support for OpenFeature #1160
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: Code Coverage | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '**.md' | ||
pull_request: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '**.md' | ||
jobs: | ||
build-test-report: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
env: | ||
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
8.0.x | ||
source-url: https://nuget.pkg.github.com/open-feature/index.json | ||
- name: Run Test | ||
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover | ||
- uses: codecov/[email protected] | ||
with: | ||
name: Code Coverage for ${{ matrix.os }} | ||
fail_ci_if_error: true | ||
verbose: true | ||
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }} |