Skip to content

Commit

Permalink
Add test runner job to build-pr workflow (#1120)
Browse files Browse the repository at this point in the history
* Run tests on build-pr run

* Oops

* Try again

* Please work

* Last try

* Only test projects with tests

* Name test steps
  • Loading branch information
ScrubN authored Jun 30, 2024
1 parent ceda7a2 commit 82ebbca
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ on:
types: [ opened, reopened ]

jobs:

run-tests:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- 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:
Expand Down

0 comments on commit 82ebbca

Please sign in to comment.