From 424726c498e14cbac2d899c01424702d97d3cae2 Mon Sep 17 00:00:00 2001 From: shimat Date: Sat, 1 Jun 2024 17:26:22 +0900 Subject: [PATCH] Add Test CI --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..e6089e3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Test + +on: + push: + branches: [ "master" ] + pull_request: + types: [synchronize, opened] + +jobs: + test-windows: + runs-on: windows-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 --framework net48 + + - name: Test + run: dotnet test --no-build --framework net48 --verbosity normal