Update NuGet packages #98
Workflow file for this run
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 Unit Tests | |
on: | |
pull_request: | |
jobs: | |
vs-test: | |
# ↓ Change this to "false" to disable the workflow without any alert messages. | |
if: ${{ false }} | |
# ↑ Change to "true" (or delete) to enable the workflow. | |
name: Run unit tests | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Create Web.configBuilder.Debug.xml file | |
shell: powershell | |
run: copy-item "GECO/Web.configBuilder.Server-sample.xml" "GECO/Web.configBuilder.Debug.xml" | |
- name: Build and restore dependencies | |
run: msbuild -t:restore,rebuild | |
- name: Run vstests | |
uses: microsoft/[email protected] | |
with: | |
testAssembly: .\GECO.Test\bin\Debug\GECO.Test.dll | |
runInParallel: true |