fix: count per-seq missing rows in validator summary #19
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: "SQL Tests: Oracle XE 21" | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| types: [labeled] | |
| branches: [master] | |
| workflow_dispatch: | |
| jobs: | |
| generate: | |
| if: github.event_name != 'pull_request' || github.event.label.name == 'run-sql-tests' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| permissions: | |
| packages: write | |
| env: | |
| CACHE_IMAGE: ghcr.io/${{ github.repository }}:ci | |
| ORACLE_TARGET: xe-21 | |
| steps: | |
| - name: Lowercase CACHE_IMAGE | |
| run: echo "CACHE_IMAGE=${CACHE_IMAGE,,}" >> "$GITHUB_ENV" | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install pytest | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Log in to ghcr.io | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build OLR image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: Dockerfile.dev | |
| load: true | |
| tags: olr-dev:latest | |
| cache-from: type=registry,ref=${{ env.CACHE_IMAGE }} | |
| cache-to: type=registry,ref=${{ env.CACHE_IMAGE }},mode=max | |
| build-args: | | |
| BUILD_TYPE=Debug | |
| UIDOLR=1001 | |
| GIDOLR=1001 | |
| WITHORACLE=1 | |
| WITHKAFKA=1 | |
| WITHPROTOBUF=1 | |
| WITHPROMETHEUS=1 | |
| - name: Generate all fixtures | |
| run: cd tests && pytest sql/test_e2e.py -v --tb=short --oracle-env=${{ env.ORACLE_TARGET }} | |
| - name: Upload generated fixtures | |
| if: github.ref == 'refs/heads/master' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-artifacts-${{ env.ORACLE_TARGET }} | |
| path: tests/sql/generated/ | |
| retention-days: 90 |