Skip to content

Commit

Permalink
Run tests on build-pr run
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jun 30, 2024
1 parent ceda7a2 commit 600ea32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ on:
types: [ opened, reopened ]

jobs:

run-tests:
runs-on: ubuntu-20.04
steps:
- run: dotnet test
continue-on-error: true

build-gui:
runs-on: windows-latest
needs: [run-tests]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ private static (string title, string id, DateTime date, string channel, TimeSpan
[InlineData("{length_custom=\"hh\\-mm\\-ss\"}", "04-04-04")]
public void CorrectlyGeneratesIndividualTemplates(string template, string expected)
{
Assert.Fail();
var (title, id, date, channel, trimStart, trimEnd, viewCount, game) = GetExampleInfo();

var result = FilenameService.GetFilename(template, title, id, date, channel, trimStart, trimEnd, viewCount, game);
Expand Down

0 comments on commit 600ea32

Please sign in to comment.