Skip to content

Commit

Permalink
Merge branch 'develop' into CheckForValidLambdaContext
Browse files Browse the repository at this point in the history
  • Loading branch information
hjgraca authored Feb 27, 2025
2 parents eed7b26 + 807bead commit 005e31c
Show file tree
Hide file tree
Showing 35 changed files with 2,440 additions and 190 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,33 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup .NET 6.0 & 8.0

- name: Setup .NET SDK
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # 4.3.0
with:
dotnet-version: |
6.0.405
8.0.101
6.0.x
8.0.x
- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release
- name: Test Examples
run: dotnet test ../examples/
run: dotnet build --configuration Release --no-restore /tl

- name: Test & Code Coverage
run: dotnet test --filter "Category!=E2E" --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
run: dotnet test --no-restore --filter "Category!=E2E" --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal

- name: Test Examples
run: dotnet test ../examples/ --verbosity normal

- name: Codecov
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # 5.3.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: false
name: codecov-lambda-powertools-dotnet
verbose: true
directory: ./libraries/codecov
directory: ./libraries/codecov
Loading

0 comments on commit 005e31c

Please sign in to comment.