Skip to content

Amended some comments. #110

Amended some comments.

Amended some comments. #110

name: build and tests
on:
push:
# Trigger workflow for commits only, not for tags.
branches:
- '**'
pull_request:
workflow_dispatch:
jobs:
build_and_test:
runs-on: windows-2022
timeout-minutes: 20
steps:
- uses: actions/checkout@v3.1.0
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1.3
- name: Setup VSTest
uses: darenm/Setup-VSTest@v1.2
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.1.1
- name: Restore dependencies
run: nuget restore VSDoxyHighlighter.sln
- name: Build solution
run: msbuild /m /p:Configuration="Release" /p:platform="Any CPU" VSDoxyHighlighter.sln
- name: Upload VSIX file
uses: actions/upload-artifact@v3.1.1
with:
name: ReleaseVSIX
path: VSDoxyHighlighter/bin/Release/*.vsix
if-no-files-found: error
- name: Run tests
run: vstest.console.exe .\Tests\bin\Release\Tests.dll