Skip to content

Commit 475ade3

Browse files
authored
Merge pull request #775 from hjgraca/feature/metrics-aspnetcore
chore: Metrics AspNetCore support
2 parents b0d8807 + 367d990 commit 475ade3

33 files changed

+2182
-208
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,33 @@ permissions:
2020
jobs:
2121
build:
2222
runs-on: ubuntu-latest
23-
2423
steps:
2524
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26-
- name: Setup .NET 6.0 & 8.0
25+
26+
- name: Setup .NET SDK
2727
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # 4.3.0
2828
with:
2929
dotnet-version: |
30-
6.0.405
31-
8.0.101
30+
6.0.x
31+
8.0.x
32+
33+
- name: Install dependencies
34+
run: dotnet restore
35+
3236
- name: Build
33-
run: dotnet build --configuration Release
34-
- name: Test Examples
35-
run: dotnet test ../examples/
37+
run: dotnet build --configuration Release --no-restore /tl
38+
3639
- name: Test & Code Coverage
37-
run: dotnet test --filter "Category!=E2E" --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
40+
run: dotnet test --no-restore --filter "Category!=E2E" --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
41+
42+
- name: Test Examples
43+
run: dotnet test ../examples/ --verbosity normal
44+
3845
- name: Codecov
3946
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # 5.3.1
4047
with:
4148
token: ${{ secrets.CODECOV_TOKEN }}
42-
flags: unittests
4349
fail_ci_if_error: false
4450
name: codecov-lambda-powertools-dotnet
4551
verbose: true
46-
directory: ./libraries/codecov
52+
directory: ./libraries/codecov

0 commit comments

Comments
 (0)