Skip to content

#2255 #2256 Overload AddKubernetes method with KubeClientOptions param for the discovery provider #2

#2255 #2256 Overload AddKubernetes method with KubeClientOptions param for the discovery provider

#2255 #2256 Overload AddKubernetes method with KubeClientOptions param for the discovery provider #2

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: PR
on: pull_request
# branches-ignore:
# - main
# - develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 9.0.x
- name: Restore
run: dotnet restore ./Ocelot.sln -p:TargetFramework=net9.0
- name: Build
run: dotnet build --no-restore ./Ocelot.sln --framework net9.0
- name: Unit Tests
run: dotnet test --no-restore --no-build --verbosity minimal --framework net9.0 ./test/Ocelot.UnitTests/Ocelot.UnitTests.csproj
- name: Integration Tests
run: dotnet test --no-restore --no-build --verbosity minimal --framework net9.0 ./test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj
- name: Acceptance Tests
run: dotnet test --no-restore --no-build --verbosity minimal --framework net9.0 ./test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj