From 5de1048c4b505da0ec151ec57de6883919c2d25a Mon Sep 17 00:00:00 2001 From: Hiromu OCHIAI Date: Fri, 25 Dec 2020 17:39:52 +0900 Subject: [PATCH] Add macos test --- .github/workflows/runtime.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index d6a1b24..3e26a21 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -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: