Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
df119ed
Added workflow to build examples separately
ngruson Nov 8, 2023
41e4055
cd examples
ngruson Nov 8, 2023
56099ba
Update examples.yml
ngruson Nov 8, 2023
5386959
Update examples.yml
ngruson Nov 8, 2023
77e9684
Update examples.yml
ngruson Nov 8, 2023
66d97cb
Added Examples solution
ngruson Nov 8, 2023
3e6af87
Merge branch 'main' of https://github.com/ngruson/opentelemetry-dotnet
ngruson Nov 8, 2023
1ecc29c
Merge branch 'open-telemetry:main' into main
ngruson Nov 9, 2023
e153d88
Build examples separately
ngruson Nov 9, 2023
dd5c16a
Fix merge conflicts
ngruson Nov 9, 2023
6561139
Merge pull request #1 from ngruson/3014-make-ci-checks-faster
ngruson Nov 9, 2023
ec2bb92
Update examples.yml
ngruson Nov 9, 2023
d508cac
Update examples.yml
ngruson Nov 9, 2023
02bcf0b
Merge branch 'open-telemetry:main' into main
ngruson Nov 10, 2023
56aa1db
UseHostBuilder to create client/server
ngruson Nov 10, 2023
1b69355
Refactored RouteInformationIsNotAddedToRequestsOutsideOfMVC
ngruson Nov 10, 2023
4f161df
Merge branch 'main' into 4976-improve-net8-metrics-tests
utpilla Nov 11, 2023
a60a8f5
Refactord BasicTests
ngruson Nov 11, 2023
54340de
Merge branch 'open-telemetry:main' into main
ngruson Nov 11, 2023
79660f6
Merge branch '4976-improve-net8-metrics-tests' of https://github.com/…
ngruson Nov 11, 2023
895da60
Run tests on variable port instead of 5000
ngruson Nov 12, 2023
12aeef1
Merge branch 'main' of https://github.com/ngruson/opentelemetry-dotne…
ngruson Nov 12, 2023
cdecae3
Removed unnecessary using
ngruson Nov 12, 2023
3e7c3bf
Added back blank line before EOF
ngruson Nov 12, 2023
6024f19
Processed review comments
ngruson Nov 17, 2023
dd15e63
Merge branch '4976-improve-net8-metrics-tests' of https://github.com/…
ngruson Nov 17, 2023
fabc1c6
Resolved merge conflicts
ngruson Nov 18, 2023
cbb5320
Solved merge conflicts
ngruson Nov 18, 2023
cf9bc01
Synced fork with main and merged conflicts
ngruson Nov 18, 2023
44639b4
Removed unnecessary usings
ngruson Nov 18, 2023
8952aca
Fixed ValidateNet8RateLimitingMetricsAsync
ngruson Nov 18, 2023
f8c43fb
Removed files that were not supposed to come along in this PR
ngruson Nov 18, 2023
7add987
Merge branch 'main' into 4976-improve-net8-metrics-tests
vishweshbankwar Nov 20, 2023
6227ab0
Fixed DiagnosticSourceExceptionCallBackIsNotReceivedForExceptionsHand…
ngruson Nov 21, 2023
bac5a61
Merge branch '4976-improve-net8-metrics-tests' of https://github.com/…
ngruson Nov 21, 2023
6524198
Removed skip of unit test DiagnosticSourceExceptionCallBackIsNotRecei…
ngruson Nov 22, 2023
10c93cc
Reverted sln changes
ngruson Nov 22, 2023
ebe17a2
Resolved merge conflict in MetricTests.cs
ngruson Nov 22, 2023
2ff66d5
Conditional using directive
ngruson Nov 22, 2023
bbe10ec
Missing blank line before EOF
ngruson Nov 22, 2023
292da0f
Processed review comments
ngruson Nov 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added workflow to build examples separately
  • Loading branch information
ngruson committed Nov 8, 2023
commit df119edb6eee89014dd9d543032e5ff28fce5937
75 changes: 75 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Build examples

on:
push:
branches: [ 'main*' ]
paths:
- 'examples/**'
pull_request:
branches: [ 'main*' ]
paths:
- 'examples/**'

jobs:

build-test-stable:
defaults:
run:
working-directory: examples
strategy:
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
matrix:
os: [ windows-latest, ubuntu-latest ]
version: [ net462, net6.0, net7.0, net8.0 ]
exclude:
- os: ubuntu-latest
version: net462

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetching all

- name: Setup dotnet
uses: actions/setup-dotnet@v3

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore --property:ExposeExperimentalFeatures=false

- name: Test ${{ matrix.version }}
run: dotnet test **/bin/**/${{ matrix.version }}/*.Tests.dll --logger:"console;verbosity=detailed"

build-test-experimental:
defaults:
run:
working-directory: examples
strategy:
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
matrix:
os: [ windows-latest, ubuntu-latest ]
version: [ net462, net6.0, net7.0, net8.0 ]
exclude:
- os: ubuntu-latest
version: net462

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetching all

- name: Setup dotnet
uses: actions/setup-dotnet@v3

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore --property:ExposeExperimentalFeatures=true

- name: Test ${{ matrix.version }}
run: dotnet test **/bin/**/${{ matrix.version }}/*.Tests.dll --logger:"console;verbosity=detailed"