fix(fieldprop): check presence for incell struct/list/map/union (#351) #2416
This file contains hidden or 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
| name: Testing | |
| # Trigger on pushes, PRs (excluding documentation changes), and nightly. | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| schedule: | |
| - cron: 0 0 * * * # daily at 00:00 | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go-version: [1.21.x, 1.24.x] | |
| os: [ubuntu-latest, windows-latest] | |
| targetplatform: [x86, x64] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| version: "23.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@v5 | |
| - name: Vet | |
| run: go vet ./... | |
| - name: Unittest | |
| run: go test -v -timeout 30m -race ./... -coverprofile=coverage.txt -covermode=atomic | |
| - name: Functest | |
| # On Linux (ubuntu-latest), the default shell is bash. | |
| # On Windows (windows-latest), we must explicitly specify 'bash' | |
| # to run a bash script, often through the bundled Git Bash environment. | |
| shell: bash | |
| run: ./test/functest/run.sh | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: tableauio/tableau |