feat: Add Dependency Injection and Hosting support #1008
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: E2E Test | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
e2e-tests: | |
runs-on: ubuntu-latest | |
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: Initialize Tests | |
run: | | |
git submodule update --init --recursive | |
cp spec/specification/assets/gherkin/evaluation.feature test/OpenFeature.E2ETests/Features/ | |
- name: Run Tests | |
run: dotnet test test/OpenFeature.E2ETests/ --configuration Release --logger GitHubActions |