Fix formatting errors in workflows #60
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_call: | ||
jobs: | ||
ssl_cert: | ||
name: Build SSL-Cert | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- python-version: ["3.11"] | ||
steps: | ||
uses: actions/checkout@v2 | ||
- name: "Setup Python & Poetry Environment" | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: "Install all extras" | ||
run: poetry install --all-extras | ||
- name: "Start test db" | ||
run: > | ||
poetry run itde spawn-test-environment --environment-name ssl | ||
--database-port-forward 8563 --bucketfs-port-forward 2580 | ||
--docker-db-image-version 7.1.17 --db-mem-size 4GB | ||
- name: "Pull certificate from container (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" | ||
run: docker cp db_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: poetry run python examples/_ssl_test.py |