Skip to content

Commit

Permalink
Add macos test
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Dec 25, 2020
1 parent e760e3c commit 5de1048
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,27 @@ on:
schedule:
- cron: '0 0 * * 5'
push:
branches: [main, develop]
branches: [master, main, develop]

jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
go: ['1.14', '1.15']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Install tesseract
run: brew install tesseract
- name: Install pkg
run: go get -u -v -t ./...
- name: Test
run: go test -v -cover ./...
test:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 5de1048

Please sign in to comment.