Skip to content

Added Context Factory for migration prod #388

Added Context Factory for migration prod

Added Context Factory for migration prod #388

name: Run tests
on:
push:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-latest, windows-latest, macos-latest]
env:
dotNetVersion: net8.0
dotNetConfiguration: Release
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup Dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Cache Nuget Packages
uses: actions/cache@v3
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Run automated unit and integration tests
run: dotnet test