Feature/447 add polar and parquet example #794
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| jobs: | |
| run-unit-tests: | |
| name: Unit Tests | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run shellcheck | |
| run: ./scripts/build/shellcheck.sh | |
| - name: Setup Python & Poetry Environment | |
| uses: exasol/python-toolbox/.github/actions/python-environment@v1 | |
| with: | |
| python-version: "3.10" | |
| - name: Check Version Number | |
| run: poetry run -- python3 -u "./scripts/build/check_release.py" | |
| - name: Run Unit Tests | |
| run: > | |
| poetry run -- pytest | |
| --capture=no | |
| --override-ini=log_cli=true | |
| --override-ini=log_cli_level=INFO | |
| test/unit | |
| run-integration-tests: | |
| name: Integration Tests | |
| runs-on: ubuntu-24.04 | |
| needs: run-unit-tests | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/prepare_test_env/ | |
| - name: Run Integration Tests | |
| run: > | |
| poetry run -- pytest | |
| --capture=no | |
| --override-ini=log_cli=true | |
| --override-ini=log_cli_level=INFO | |
| test/integration | |
| approval-for-notebook-tests: | |
| name: Run Jupyter Notebook Tests? | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Detect Running Notebook Tests | |
| run: true | |
| environment: | |
| approve-test-execution | |
| run-notebook-docker-image-builder: | |
| uses: ./.github/workflows/notebook_docker_image_builder.yaml | |
| needs: approval-for-notebook-tests | |
| run-stable-notebook-tests: | |
| uses: ./.github/workflows/notebook_tests.yaml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| class: [ normal, large ] | |
| secrets: inherit | |
| with: | |
| status-filter: stable | |
| test-classification: ${{ matrix.class }} | |
| needs: run-notebook-docker-image-builder | |
| run-unstable-notebook-tests: | |
| uses: ./.github/workflows/notebook_tests.yaml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| class: [ normal, large ] | |
| secrets: inherit | |
| with: | |
| status-filter: unstable | |
| test-classification: ${{ matrix.class }} | |
| needs: run-notebook-docker-image-builder | |
| approval-for-gpu-notebook-tests: | |
| name: Run Jupyter GPU Notebook Tests? | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Detect Running GPU Notebook Tests | |
| run: true | |
| environment: | |
| approve-gpu-test-execution | |
| run-stable-gpu-notebook-tests: | |
| uses: ./.github/workflows/notebook_tests.yaml | |
| secrets: inherit | |
| with: | |
| status-filter: stable | |
| test-classification: gpu | |
| needs: [run-notebook-docker-image-builder, approval-for-gpu-notebook-tests] | |
| gate-2: | |
| if: ${{ !cancelled() }} | |
| name: Gate 2 - Allow Merge | |
| runs-on: ubuntu-24.04 | |
| needs: [ run-unit-tests, run-integration-tests, run-stable-notebook-tests, run-stable-gpu-notebook-tests ] | |
| steps: | |
| - name: Branch Protection - failure if any ancestor failed | |
| if: ${{ contains(needs.*.result, 'failure') }} | |
| run: | | |
| echo '${{ toJSON(needs) }}' | |
| exit 1 | |
| - name: Branch Protection | |
| run: true |