From e7363ca14d7ec2ce7f3cf4bcb0c1db72a158cf0b Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Wed, 24 Apr 2024 11:53:57 +0200 Subject: [PATCH] Fix formatting errors in workflows --- .github/workflows/ci-master.yml | 7 +++---- .github/workflows/ci-pr.yml | 7 +++---- .github/workflows/ssl_cert.yml | 14 +++++++------- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index e30682e..55aaaca 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -1,16 +1,15 @@ name: Continues Integration (Master) on: - workflow_dispatch: push: - - master - - main + branches: + - "master" + - "main" schedule: # “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru) - cron: "0 0 1/7 * *" jobs: - verify: uses: ./.github/workflows/checks.yml diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 41de360..23b69ca 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -2,14 +2,13 @@ name: Continues Integration (PR) on: pull_request: - + jobs: - verify: uses: ./.github/workflows/checks.yml - + examples: uses: ./.github/workflows/examples.yml - + ssl_cert: uses: ./.github/workflows/ssl_cert.yml diff --git a/.github/workflows/ssl_cert.yml b/.github/workflows/ssl_cert.yml index 77b49a8..4343f15 100644 --- a/.github/workflows/ssl_cert.yml +++ b/.github/workflows/ssl_cert.yml @@ -11,10 +11,9 @@ jobs: strategy: fail-fast: false matrix: - include: - - python-version: ["3.11"] - + python-version: ["3.11"] steps: + - name: "Checkout repo" uses: actions/checkout@v2 - name: "Setup Python & Poetry Environment" @@ -28,14 +27,15 @@ jobs: - name: "Start test db" run: > poetry run itde spawn-test-environment --environment-name ssl - --database-port-forward 8563 --bucketfs-port-forward 2580 + --database-port-forward 8888 --bucketfs-port-forward 2580 --docker-db-image-version 7.1.17 --db-mem-size 4GB + --create-certificates - - name: "Pull certificate from container (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" + - name: "Pull certificate from container" run: docker cp db_container_ssl:/certificates/rootCA.crt . - - name: "Setup custom host (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})" + - name: "Setup custom host" 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 }})" + - name: "Run test" run: poetry run python examples/_ssl_test.py