From 862f1eb1f86b7b709e4e1df41702dbdb28904b6f Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Sun, 11 Aug 2024 15:48:38 +0200 Subject: [PATCH] Added workflow to run tests in pr --- .github/workflows/pr_verify.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pr_verify.yml diff --git a/.github/workflows/pr_verify.yml b/.github/workflows/pr_verify.yml new file mode 100644 index 0000000..4f93de1 --- /dev/null +++ b/.github/workflows/pr_verify.yml @@ -0,0 +1,25 @@ +name: PR-Verify + +on: + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4.1.1 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 8.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore --configuration Release /p:Version=0.0.0 + - name: Test + run: dotnet test --no-build --verbosity normal --configuration Release +