Skip to content

test: add unit tests for SendEmailCommandHandler to verify email send… #3

test: add unit tests for SendEmailCommandHandler to verify email send…

test: add unit tests for SendEmailCommandHandler to verify email send… #3

Workflow file for this run

name: Build and Test
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 9.0.100
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Publish
run: dotnet publish --configuration Release --output ${{ github.workspace }}/publish
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: app-build
path: ${{ github.workspace }}/publish