Skip to content

Commit

Permalink
Update example workflow to use itde
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Apr 22, 2024
1 parent 51f06a9 commit 0868105
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,20 @@ jobs:
matrix:
include:
- python-version: "3.11"
exasol-tag: latest-7.1
exasol-port: 8563

name: "Build with Python ${{ matrix.python-version }} and Exasol ${{ matrix.exasol-tag }}"
name: "Build with Python ${{ matrix.python-version }} and Exasol 7.1.17"

runs-on: ubuntu-20.04
timeout-minutes: 15

services:
exasol:
image: exasol/docker-db:${{ matrix.exasol-tag }}
ports:
- 8563:${{ matrix.exasol-port }}
options: --privileged
timeout-minutes: 30

steps:
- name: "Checkout repo (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})"
- name: "Checkout repo"
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,ujson,rapidjson,orjson,examples]

- name: "Wait for Exasol container (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})"
run: python examples/_wait_container.py
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}

- name: "Run examples (Python ${{ matrix.python-version }} Exasol ${{ matrix.exasol-tag }})"
run: |
Expand Down

0 comments on commit 0868105

Please sign in to comment.