8000 importer: encapsulate `Table` struct (#108) · tableauio/tableau@95e8b78 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Testing

Testing #1089

Workflow file for this run

name: Testing
# Trigger on pushes, PRs (excluding documentation changes), and nightly.
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: 0 0 * * * # daily at 00:00
permissions:
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x]
os: [ubuntu-latest]
targetplatform: [x86, x64]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
version: "3.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Installing protoc-gen-go
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1
- name: Checkout code
uses: actions/checkout@v3
- name: Setup
run: ./test/setup.sh
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -timeout 30m -race ./... -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: tableauio/tableau
0