From 2a66f6a9cac787e7a9808d62eff721cf28df2b82 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 12 Jul 2024 09:57:07 +0200 Subject: [PATCH] Add GitHub workflow to run tests --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..1f5e0a6 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: "Run Tests" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - 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 + - name: Run Tests + run: dotnet test --no-build --verbosity normal \ No newline at end of file