Skip to content

Bump FluentAssertions from 6.11.0 to 6.12.0 #58

Bump FluentAssertions from 6.11.0 to 6.12.0

Bump FluentAssertions from 6.11.0 to 6.12.0 #58

# WARNING: This file is automatically generated by ../regenerate-actions.sh
name: CI
on:
pull_request:
branches:
- master
- support/*
paths-ignore:
- docs/**
- README.md
- .editorconfig
- .gitattributes
- .gitignore
- .github/ISSUE_TEMPLATE/**
- .github/pull_request_template.md
defaults:
run:
shell: bash
jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Debug --logger GitHubActions -p:CollectCoverage=true
-p:CoverletOutputFormat=cobertura
- name: Pack
run: dotnet pack -o artifacts --configuration Release --no-restore
- name: Publish Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./tests/UnitTests/coverage.cobertura.xml
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: artifacts
path: |
artifacts/*
mutation-tests:
name: Mutation Test
needs: build-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Mutation Test
run: |
dotnet tool install --global dotnet-stryker --version 1.5.1 # TODO: remove the version constraint
cd tests/UnitTests
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
dotnet stryker --reporter html --reporter dashboard --reporter progress --version master
else
dotnet stryker --reporter html --reporter progress
fi
mkdir -p ../../artifacts
find StrykerOutput -name mutation-report.html -exec cp {} ../../artifacts/ \;
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: artifacts
path: |
artifacts/*