Added unit test for changing to daylight saving. (#140) #210
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: Build | |
on: | |
push: | |
branches: [ master, main ] # Build on main/master branch | |
pull_request: | |
branches: [ master, main ] # Build on PR/MR that target main/master | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: 'windows-2022' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup MSBuild path | |
uses: microsoft/[email protected] | |
with: | |
vs-version: '[17.0,)' | |
- name: Setup dot net | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore NuGet packages | |
run: nuget restore MFiles.VAF.Extensions.sln | |
- name: Build solution - RELEASE configuration | |
run: msbuild MFiles.VAF.Extensions.sln /nologo /verbosity:m /p:Configuration=Release /t:Build /p:DefineConstants="DONOTDEPLOY" | |
# Tests cannot be run as MFAPI is not installed. | |
# - name: Test | |
# run: dotnet test --no-restore --verbosity normal |