Skip to content

Commit

Permalink
Update daily test builds to use single source of truth for libtiledb …
Browse files Browse the repository at this point in the history
…target versions (#1910)
  • Loading branch information
kounelisagis authored Mar 6, 2024
1 parent 96fea63 commit 3ad8ed0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 15 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/daily-test-build-numpy.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: TileDB Python CI - With Earliest Supported Version of NumPy

# on: [push]

on:
schedule:
# runs every day at 5:00 UTC (1:00AM EST / Midnight CST)
- cron: "0 5 * * *"
workflow_dispatch:
workflow_call:
inputs:
libtiledb_version:
required: true
type: string

jobs:
test:
Expand All @@ -32,7 +31,7 @@ jobs:
numpy-version: "1.16.5"
fail-fast: false
env:
TILEDB_VERSION: 'release-2.20'
TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}
# 11.7 necessary due to: https://github.com/actions/setup-python/issues/682#issuecomment-1604261330
#MACOSX_DEPLOYMENT_TARGET: "10.15"
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-11' && contains(fromJson('["3.7", "3.8"]'), matrix.python-version) && '11.7' || '11' }}
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/daily-test-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Daily Test Build TileDB-Py Against Core

#on: [push]

on:
workflow_dispatch:
schedule:
# runs every day at 5:00 UTC (1:00AM EST / Midnight CST)
- cron: "0 5 * * *"
workflow_call:
inputs:
libtiledb_version:
required: true
type: string

jobs:
test-wheels-on-azure:
Expand Down Expand Up @@ -35,12 +34,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
libtiledb_version: ["dev", "release-2.19", "release-2.20"]
uninstall_pandas: [true, false]
fail-fast: false

env:
TILEDB_VERSION: ${{ matrix.libtiledb_version }}
TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}
MACOSX_DEPLOYMENT_TARGET: "11"
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'

Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/daily-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Daily Tests TileDB-Py

on:
schedule:
# runs every day at 5:00 UTC (1:00AM EST / Midnight CST)
- cron: "0 5 * * *"
workflow_dispatch:

jobs:
ci1:
uses: ./.github/workflows/daily-test-build.yml
with:
libtiledb_version: 'dev'

ci2:
uses: ./.github/workflows/daily-test-build.yml
with:
libtiledb_version: 'release-2.19'

ci3:
uses: ./.github/workflows/daily-test-build.yml
with:
libtiledb_version: 'release-2.20'

ci4:
uses: ./.github/workflows/daily-test-build-numpy.yml
with:
libtiledb_version: 'release-2.20'

0 comments on commit 3ad8ed0

Please sign in to comment.