Added Video Demo #29
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: .NET CI (In-Memory DB Tests) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '9.0' # Adjust this to match your .NET version | |
- name: Restore dependencies | |
run: dotnet restore backend-MT.sln | |
- name: Build | |
run: dotnet build backend-MT.sln --no-restore --configuration Release | |
- name: Run Tests in backend-MT.Tests | |
working-directory: ./backend-MT.Tests | |
run: dotnet test |