Skip to content

Run Build and Unit tests #874

Run Build and Unit tests

Run Build and Unit tests #874

name: Run Build and Unit tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
main:
runs-on: ${{ matrix.environment }}
strategy:
matrix:
environment:
- macos-latest
- ubuntu-latest
- windows-latest
fail-fast: false
env:
DOTNET_NOLOGO: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages
steps:
- name: πŸ“ Fetch Sources πŸ“
uses: actions/checkout@v2
- name: πŸ’‘ Perform Common Steps πŸ’‘
uses: ./.github/workflows/perform-common-steps
- name: πŸ›  Build Solution πŸ› 
shell: bash
run: dotnet build
- name: βœ… Run Unit Tests βœ…
shell: bash
run: dotnet test