feat(56): Apache Iceberg support like backend migrates (#58) #181
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: Test | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'doc/**' | |
| - '**.md' | |
| branches: [main] | |
| tags: [v*] | |
| pull_request: | |
| paths-ignore: | |
| - 'doc/**' | |
| - '**.md' | |
| jobs: | |
| docker: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| - name: Run docker-compose | |
| uses: hoverkraft-tech/compose-action@v2.0.1 | |
| with: | |
| compose-file: "./docker-compose.yml" | |
| - name: Run lint | |
| run: docker compose exec -T app make lint | |
| - name: Run unit tests | |
| run: docker compose exec -T app make test-unit | |
| - name: Run integration tests | |
| run: docker compose exec -T app make test-integration | |
| - name: Generate coverage report | |
| run: docker compose exec -T app make test-coverage | |
| - name: Create coverage badge | |
| uses: ncruces/go-coverage-report@v0 | |
| with: | |
| coverage-file: .report/coverage.txt | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' |