added the 2nd stage of fluent validation so that I can test it then p… #1
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: 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 |