Skip to content

Commit

Permalink
Merge pull request #986 from oxygen-dioxide/action-test
Browse files Browse the repository at this point in the history
Add a github action to run unit tests for each PR
  • Loading branch information
stakira authored Dec 21, 2023
2 parents 690afd5 + 96991e3 commit f62d36b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pr-test.yml
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

0 comments on commit f62d36b

Please sign in to comment.