-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…param for the discovery provider (#2257) * Add new overloaded Ocelot builder extension-method with Action<KubeClientOptions> required parameter * Update Kubernetes docs * Update Kubernetes sample * 2 workflows: develop, PR * Testing
Showing
11 changed files
with
588 additions
and
109 deletions.
There are no files selected for viewing
11 changes: 4 additions & 7 deletions
11
.github/workflows/dotnet.yml → .github/workflows/develop.yml
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 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 normal --framework net9.0 ./test/Ocelot.UnitTests/Ocelot.UnitTests.csproj | ||
- name: Integration Tests | ||
run: dotnet test --no-restore --no-build --verbosity normal --framework net9.0 ./test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj | ||
- name: Acceptance Tests | ||
run: dotnet test --no-restore --no-build --verbosity normal --framework net9.0 ./test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj |
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
Oops, something went wrong.