Skip to content

added the 2nd stage of fluent validation so that I can test it then p… #1

added the 2nd stage of fluent validation so that I can test it then p…

added the 2nd stage of fluent validation so that I can test it then p… #1

name: Run ASPNET Core Tests
on:
push:
branches: ["*"]
paths:
- "server/**"
pull_request:
branches: ["main"]
paths:
- "server/**"
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: server
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Run Unit Tests
run: dotnet test tests/Todo.UnitTests/Todo.UnitTests.csproj --no-build --verbosity normal
- name: Run Integration Tests
run: dotnet test tests/Todo.IntegrationTests/Todo.IntegrationTests.csproj --no-build --verbosity normal