Add support for pg18 and remove pg13 #3202
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: operator-tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| tests: | |
| name: Unit tests and coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-go@v2 | |
| with: | |
| go-version: "^1.25.3" | |
| - name: Make dependencies | |
| run: make mocks | |
| - name: Compile | |
| run: make linux | |
| - name: Run unit tests | |
| run: go test -race -covermode atomic -coverprofile=coverage.out ./... | |
| - name: Convert coverage to lcov | |
| uses: jandelgado/gcov2lcov-action@v1.1.1 | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@master | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| path-to-lcov: coverage.lcov |