Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Interop-CI update #1679

Merged
merged 5 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/r-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- name: Install BioConductor package SingleCellExperiment
run: cd apis/r && tools/r-ci.sh install_bioc SingleCellExperiment

- name: Install rc version of tiledb-r (macOS)
- name: Install r-universe build of tiledb-r (macOS)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stray quote marks

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eek thx

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1681
Thank you @thetorpedodog ! :)

if: ${{ matrix.os == 'macOS-latest' }}
run: cd apis/r && Rscript -e "install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))"

- name: Install rc version of tiledb-r (linux)
- name: Install r-universe build of tiledb-r (linux)"
if: ${{ matrix.os != 'macOS-latest' }}
run: cd apis/r && Rscript -e "options(bspm.version.check=TRUE); install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev/bin/linux/jammy/4.3/', 'https://cloud.r-project.org'))"

Expand Down
27 changes: 21 additions & 6 deletions .github/workflows/r-python-interop-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: TileDB-SOMA R-Python interop testing

on:
pull_request:
paths:
- "apis/python/**"
- "apis/r/**"
- "apis/system/**"
# TODO: leave this enabled for pre-merge signal for now. At some point we may want to go back to
# only having this signal post-merge.
#paths:
# - "apis/python/**"
# - "apis/r/**"
# - "apis/system/**"
johnkerl marked this conversation as resolved.
Show resolved Hide resolved
push:
branches:
- main
Expand Down Expand Up @@ -38,6 +40,14 @@ jobs:
- name: MkVars
run: mkdir ~/.R && echo "CXX17FLAGS=-Wno-deprecated-declarations -Wno-deprecated" > ~/.R/Makevars

- name: Install r-universe build of tiledb-r (macOS)"
if: ${{ matrix.os == 'macOS-latest' }}
run: cd apis/r && Rscript -e "install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))"

- name: Install r-universe build of tiledb-r (linux)"
if: ${{ matrix.os != 'macOS-latest' }}
run: cd apis/r && Rscript -e "options(bspm.version.check=TRUE); install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev/bin/linux/jammy/4.3/', 'https://cloud.r-project.org'))"

johnkerl marked this conversation as resolved.
Show resolved Hide resolved
- name: Build and install libtiledbsoma
run: sudo scripts/bld --prefix=/usr/local && sudo ldconfig

Expand All @@ -48,6 +58,9 @@ jobs:
FILE=$(ls -1t *.tar.gz | head -n 1)
R CMD INSTALL $FILE

- name: Show R package versions
run: Rscript -e 'tiledbsoma::show_package_versions()'

- name: Install testing prereqs
run: python -m pip -v install -U pip pytest-cov 'typeguard<3.0' types-setuptools

Expand All @@ -61,8 +74,10 @@ jobs:
- name: Install tiledbsoma
run: python -m pip -v install -e apis/python

- name: Show package versions
run: python scripts/show-versions.py
- name: Show Python package versions
run: |
python -c 'import tiledbsoma; tiledbsoma.show_package_versions()'
johnkerl marked this conversation as resolved.
Show resolved Hide resolved
python scripts/show-versions.py

- name: Interop Tests
run: python -m pytest apis/system/tests/