From dca2e63b9ba5dbeef7a1d5bdc113eb335451e776 Mon Sep 17 00:00:00 2001 From: Lambert Clara Date: Mon, 22 Jul 2024 16:40:20 +0200 Subject: [PATCH] Update build-and-publish.yml --- .github/workflows/build-and-publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 8fcf373..43a5731 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -66,11 +66,18 @@ jobs: - name: Build NiftyPerforce in ${{ matrix.configuration }} and analyze shell: powershell run: | - msbuild -t:build -restore NiftyPerforce/NiftyPerforce.csproj /nologo /v:m /p:DeployExtension=false /p:Configuration=$env:Configuration + msbuild -t:build -restore NiftyPerforce.sln /nologo /v:m /p:DeployExtension=false /p:Configuration=$env:Configuration env: Configuration: ${{ matrix.configuration }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + - name: Run tests + uses: microsoft-approved-actions/vstest@master + with: + testAssembly: NiftyPerforce.Tests*.dll + searchFolder: ./NiftyPerforce.Tests/ + runInParallel: true + - name: Upload build artifacts uses: actions/upload-artifact@v4 with: