Skip to content

Update dependency FluentAssertions.Analyzers to 0.34.1 #214

Update dependency FluentAssertions.Analyzers to 0.34.1

Update dependency FluentAssertions.Analyzers to 0.34.1 #214

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🔨 set up .net 7
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: ⚗ restore dependencies
run: dotnet restore src
- name: 🛠 build
run: dotnet build src --configuration Release --no-restore
- name: 🧪 run tests
run: |
cd ./tests/LazyCart.Tests/
dotnet test --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
cp TestResults/*/coverage.opencover.xml .
- name: 💌 publish code coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/lazy-cart/lazy-cart/tests/LazyCart.Tests/coverage.opencover.xml
fail_ci_if_error: true