Skip to content

Commit 3ad8ed0

Browse files
authored
Update daily test builds to use single source of truth for libtiledb target versions (#1910)
1 parent 96fea63 commit 3ad8ed0

File tree

3 files changed

+40
-15
lines changed

3 files changed

+40
-15
lines changed

.github/workflows/daily-test-build-numpy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: TileDB Python CI - With Earliest Supported Version of NumPy
22

3-
# on: [push]
4-
53
on:
6-
schedule:
7-
# runs every day at 5:00 UTC (1:00AM EST / Midnight CST)
8-
- cron: "0 5 * * *"
9-
workflow_dispatch:
4+
workflow_call:
5+
inputs:
6+
libtiledb_version:
7+
required: true
8+
type: string
109

1110
jobs:
1211
test:
@@ -32,7 +31,7 @@ jobs:
3231
numpy-version: "1.16.5"
3332
fail-fast: false
3433
env:
35-
TILEDB_VERSION: 'release-2.20'
34+
TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}
3635
# 11.7 necessary due to: https://github.com/actions/setup-python/issues/682#issuecomment-1604261330
3736
#MACOSX_DEPLOYMENT_TARGET: "10.15"
3837
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-11' && contains(fromJson('["3.7", "3.8"]'), matrix.python-version) && '11.7' || '11' }}

.github/workflows/daily-test-build.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: Daily Test Build TileDB-Py Against Core
22

3-
#on: [push]
4-
53
on:
6-
workflow_dispatch:
7-
schedule:
8-
# runs every day at 5:00 UTC (1:00AM EST / Midnight CST)
9-
- cron: "0 5 * * *"
4+
workflow_call:
5+
inputs:
6+
libtiledb_version:
7+
required: true
8+
type: string
109

1110
jobs:
1211
test-wheels-on-azure:
@@ -35,12 +34,11 @@ jobs:
3534
strategy:
3635
matrix:
3736
os: [ubuntu-latest, macos-12, windows-latest]
38-
libtiledb_version: ["dev", "release-2.19", "release-2.20"]
3937
uninstall_pandas: [true, false]
4038
fail-fast: false
4139

4240
env:
43-
TILEDB_VERSION: ${{ matrix.libtiledb_version }}
41+
TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}
4442
MACOSX_DEPLOYMENT_TARGET: "11"
4543
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'
4644

.github/workflows/daily-tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Daily Tests TileDB-Py
2+
3+
on:
4+
schedule:
5+
# runs every day at 5:00 UTC (1:00AM EST / Midnight CST)
6+
- cron: "0 5 * * *"
7+
workflow_dispatch:
8+
9+
jobs:
10+
ci1:
11+
uses: ./.github/workflows/daily-test-build.yml
12+
with:
13+
libtiledb_version: 'dev'
14+
15+
ci2:
16+
uses: ./.github/workflows/daily-test-build.yml
17+
with:
18+
libtiledb_version: 'release-2.19'
19+
20+
ci3:
21+
uses: ./.github/workflows/daily-test-build.yml
22+
with:
23+
libtiledb_version: 'release-2.20'
24+
25+
ci4:
26+
uses: ./.github/workflows/daily-test-build-numpy.yml
27+
with:
28+
libtiledb_version: 'release-2.20'

0 commit comments

Comments
 (0)