-
Notifications
You must be signed in to change notification settings - Fork 26
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
[python] Add GHA workflow for minimal CI jobs #750
Merged
Merged
Changes from 33 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
7fd4646
add GHA workflow for minimal CI jobs
atolopko-czi 4058755
run "full" ci workflow only on main merges and releases
atolopko-czi 65c6a5e
fix
atolopko-czi 33065c3
temporarily disable r ci GHA workflow
atolopko-czi 1668f79
add "full" to workflow name
atolopko-czi d330b5e
trigger python minimal ci workflow on python changes only
atolopko-czi 07d82a5
tmp file to trigger GHA Python CI minimal workflow for testing
atolopko-czi 84f9692
fix/testing
atolopko-czi ee3a2bd
fix/testing
atolopko-czi 8d42d86
fix/testing
atolopko-czi c6dfb58
fix/testing
atolopko-czi 8163d59
fix/testing
atolopko-czi cbb06e6
fix/testing
atolopko-czi 122cad0
fix/testing
atolopko-czi 6dbbf69
cleanup
atolopko-czi ee50906
test python ci full workflow
atolopko-czi e8146dc
test python ci full workflow
atolopko-czi face8d5
use reusable workflow for python-ci-{full,minimal}
atolopko-czi bdd6587
fix/testing
atolopko-czi 5de96e7
fix/testing
atolopko-czi 518c343
trigger
atolopko-czi c5fdc55
workflow name
atolopko-czi 690a1a3
cleanup
atolopko-czi 59ced62
test python ci full
atolopko-czi 2406ef9
fix
atolopko-czi 1f14178
cleanup, docs
atolopko-czi b5280bd
Merge branch 'main' into atol/693-ci-optimize-resource-usage
atolopko-czi b7357ff
always call reusable workflow from same branch
atolopko-czi c8b01b6
revert debug code
atolopko-czi 0315f99
revert to original python GHA job triggers
atolopko-czi fa485c5
Merge branch 'main' into atol/693-ci-optimize-resource-usage
atolopko-czi 3063097
rm redundant mypy check
atolopko-czi 307a254
rm todo
atolopko-czi cc8ac5a
test pull_request trigger again
atolopko-czi 4156a4b
test pull_request trigger again
atolopko-czi 616b6a3
give up on pull_request trigger for now; use push
atolopko-czi 20b4648
Merge branch 'main' into atol/693-ci-optimize-resource-usage
atolopko-czi 94a4369
caching fix attempt
atolopko-czi bbadfcd
caching fix attempt
atolopko-czi 34d41c9
trigger
atolopko-czi 91e7023
caching fix attempt
atolopko-czi 1b4286e
caching fix attempt
atolopko-czi 5e2689d
rm testing file
atolopko-czi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: TileDB-SOMA Python CI (Full) | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# TODO: restore Windows build once we have C++/libtiledbsoma integration supported there | ||
os: [ubuntu-22.04, macos-12] | ||
# os: [ubuntu-22.04, macos-12, windows-2019] | ||
python-version: ['3.7', '3.8', '3.9', '3.10'] | ||
include: | ||
- runs-on: ubuntu-22.04 | ||
cc: gcc-11 | ||
cxx: g++-11 | ||
- runs-on: macos-12 | ||
cc: gcc-11 | ||
cxx: g++-11 | ||
uses: ./.github/workflows/python-ci-single.yml | ||
with: | ||
os: ${{ matrix.os }} | ||
python_version: ${{ matrix.python-version }} | ||
cc: ${{ matrix.cc }} | ||
cxx: ${{ matrix.cxx }} | ||
is_mac: ${{ contains(matrix.os, 'macos') }} | ||
report_codecov: ${{ matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' }} | ||
run_lint: ${{ matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' }} | ||
secrets: inherit | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: TileDB-SOMA Python CI (Minimal) | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'apis/r/**' | ||
branches-ignore: | ||
- main | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-22.04] | ||
python-version: ['3.10', '3.7'] | ||
include: | ||
- runs-on: ubuntu-22.04 | ||
cc: gcc-11 | ||
cxx: g++-11 | ||
# TODO: remove version before merge to main | ||
uses: ./.github/workflows/python-ci-single.yml | ||
with: | ||
os: ${{ matrix.os }} | ||
python_version: ${{ matrix.python-version }} | ||
cc: ${{ matrix.cc }} | ||
cxx: ${{ matrix.cxx }} | ||
report_codecov: ${{ matrix.python-version == '3.10' }} | ||
run_lint: ${{ matrix.python-version == '3.10' }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now differs from r-ci.yml, which is not ideal. And the GHA console shows push- and pull_request-triggered workflow runs somewhat differently. I'm going to test once more with pull_request...