Update dependency FluentAssertions.Analyzers to 0.34.1 #214
Workflow file for this run
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
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 |