Skip to content

Commit

Permalink
[ci] Use paths-ignore to avoid R CI for Python commits and vice versa (
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Jan 11, 2023
1 parent 1c3d3f0 commit 786cecc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: TileDB-SOMA Python CI

on:
pull_request:
paths-ignore:
- 'apis/r/**'
push:
branches: [main]
release:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: TileDB Python and C++ Linting
name: TileDB-SOMA Python Linting

on:
pull_request:
paths-ignore:
- 'apis/r/**'
push:
branches: [main]

Expand All @@ -25,8 +27,3 @@ jobs:
# python -m pip install mypy types-setuptools typeguard
python -m pip install mypy==0.982 types-setuptools 'attrs>=22.1'
python -m mypy .
- name: Check C++ Format
run: |
./scripts/run-clang-format.sh . clang-format 0 \
$(find libtiledbsoma -name "*.cc" -or -name "*.h")
2 changes: 2 additions & 0 deletions .github/workflows/py-packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
# pull_request:
push:
branches: [main]
paths-ignore:
- 'apis/r/**'
release:
types: [published]

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/r-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: TileDB-SOMA R CI

on:
pull_request:
paths-ignore:
- 'apis/python/**'
push:
branches: [main]

Expand Down

0 comments on commit 786cecc

Please sign in to comment.