forked from stakira/OpenUtau
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request stakira#986 from oxygen-dioxide/action-test
Add a github action to run unit tests for each PR
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |