Skip to content

Commit

Permalink
Fix formatting errors in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Apr 24, 2024
1 parent b8f43b1 commit e7363ca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions .github/workflows/ssl_cert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

0 comments on commit e7363ca

Please sign in to comment.