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