Fix websocket connection isn't properly closed #56
Workflow file for this run
This file contains 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: SSL certificate test | |
on: | |
# Workflow is disabled due to incompatible changes in "test_container_ssl" | |
# | |
# push: | |
# paths: | |
# - "**.py" | |
# - "**.yml" | |
# branches: | |
# - master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ssl_cert: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python-version: "3.11" | |
exasol-tag: 7.1.6 | |
name: "Build SSL-Cert with Python ${{ matrix.python-version }} and Exasol ${{ matrix.exasol-tag }}" | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: "Checkout repo (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
uses: actions/checkout@v2 | |
- name: "Setup Python (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: "Install dependencies (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
run: pip install -e .[pandas] | |
- name: "Checkout test environment (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
uses: actions/checkout@v2 | |
with: | |
repository: exasol/integration-test-docker-environment | |
path: './test_env' | |
- name: "Spawn EXASOL environemnt (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
run: ./start-test-env spawn-test-environment --environment-name ssl --docker-db-image-version=${{ matrix.exasol-tag }} --database-port-forward 8888 --create-certificates | |
working-directory: ./test_env | |
- name: "Pull certificate from container (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
run: docker cp test_container_ssl:/certificates/rootCA.crt . | |
- name: "Setup custom host (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
run: echo "127.0.0.1 exasol-test-database" | sudo tee -a /etc/hosts | |
- name: "Run test (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | |
run: python examples/_ssl_test.py |