From 96991e34f22aea7a9cd5d36c38b05bc4d4f1e839 Mon Sep 17 00:00:00 2001 From: oxygen-dioxide <54425948+oxygen-dioxide@users.noreply.github.com> Date: Thu, 21 Dec 2023 10:18:39 +0800 Subject: [PATCH] Create pr-test.yml --- .github/workflows/pr-test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pr-test.yml diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml new file mode 100644 index 000000000..de3583f3d --- /dev/null +++ b/.github/workflows/pr-test.yml @@ -0,0 +1,26 @@ +on: + pull_request: + branches: [ master ] + +jobs: + pr-test: + runs-on: ${{ matrix.os.runs-on }} + + strategy: + matrix: + os: + - runs-on: windows-latest + arch: win-x64 + - runs-on: macos-latest + arch: osx-x64 + - runs-on: ubuntu-latest + arch: linux-x64 + + steps: + - uses: actions/checkout@v1 + + - name: restore + run: dotnet restore OpenUtau -r ${{ matrix.os.arch }} + + - name: test + run: dotnet test OpenUtau.Test