From 82ebbca1e8887bb0056ad2a00e6c6e49a3867e22 Mon Sep 17 00:00:00 2001 From: Scrub <72096833+ScrubN@users.noreply.github.com> Date: Sun, 30 Jun 2024 01:40:07 -0400 Subject: [PATCH] Add test runner job to build-pr workflow (#1120) * Run tests on build-pr run * Oops * Try again * Please work * Last try * Only test projects with tests * Name test steps --- .github/workflows/build-pr.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 56901955..87233623 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -7,7 +7,19 @@ on: types: [ opened, reopened ] jobs: - + run-tests: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4.1.7 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 6.0.x + - name: Run TwitchDownloaderCLI Tests + run: dotnet test TwitchDownloaderCLI.Tests + - name: Run TwitchDownloaderCore Tests + run: dotnet test TwitchDownloaderCore.Tests + build-gui: runs-on: windows-latest env: