Skip to content

Commit

Permalink
Add examples to pull request ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Apr 22, 2024
1 parent 5fbf0fc commit bc84d91
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ jobs:

verify:
uses: ./.github/workflows/checks.yml

examples:
uses: ./.github/workflows/examples.yml
25 changes: 6 additions & 19 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,23 @@
name: Examples

on:
push:
paths:
- "**.py"
- "**.yml"
pull_request:

workflow_dispatch:
workflow_call:

jobs:

examples:
name: "Build with Python ${{ matrix.python-version }} and Exasol 7.1.17"
name: Run Examples
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]



steps:
- name: "Checkout repo"
uses: actions/checkout@v2

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}

- name: "Setup Python & Poetry Environment"
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: "Run examples"
run: |
python examples/a00_prepare.py
Expand Down

0 comments on commit bc84d91

Please sign in to comment.