Skip to content

Replace FluentMigrations with Shouldly #4

Replace FluentMigrations with Shouldly

Replace FluentMigrations with Shouldly #4

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Restore dependencies
run: dotnet restore Umbraco.Ai.sln
- name: Build
run: dotnet build Umbraco.Ai.sln --no-restore --configuration Release
- name: Test
run: dotnet test Umbraco.Ai.sln --no-build --configuration Release --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Upload coverage reports
uses: codecov/codecov-action@v4
if: success()
with:
files: ./coverage/**/coverage.cobertura.xml
fail_ci_if_error: false
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}