forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1012 Bytes
/
_extension_client_tests.yml
File metadata and controls
46 lines (37 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This is a reusable workflow to be used by extensions based on the extension template
name: Client Tests
on:
workflow_call:
inputs:
duckdb_version:
required: true
type: string
jobs:
python:
name: Python
runs-on: ubuntu-latest
env:
GEN: ninja
steps:
- name: Install Ninja
run: |
sudo apt-get update -y -qq
sudo apt-get install -y -qq ninja-build
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Checkout DuckDB to version
run: |
cd duckdb
git checkout ${{ inputs.duckdb_version }}
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Build DuckDB Python client
run: make debug_python
- name: Install Python test dependencies
run: python -m pip install --upgrade pytest
- name: Run Python client tests
run: |
make test_debug_python