-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat-add-copy-ttree
- Loading branch information
Showing
31 changed files
with
1,138 additions
and
213 deletions.
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
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ updates: | |
directory: / | ||
schedule: | ||
interval: weekly | ||
groups: | ||
actions: | ||
patterns: | ||
- '*' |
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,32 @@ | ||
name: Build sdist and wheel | ||
|
||
on: | ||
# Run on demand with workflow dispatch | ||
workflow_dispatch: | ||
# Use from other workflows | ||
workflow_call: | ||
|
||
jobs: | ||
dist: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build sdist and wheel | ||
run: pipx run build | ||
|
||
- name: Check metadata | ||
run: pipx run twine check --strict dist/* | ||
|
||
- name: List contents of sdist | ||
run: python -m tarfile --list dist/uproot-*.tar.gz | ||
|
||
- name: List contents of wheel | ||
run: python -m zipfile --list dist/uproot-*.whl | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: distribution-artifact | ||
path: dist/* |
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
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,39 @@ | ||
name: Upload nightly wheels to Anaconda Cloud | ||
|
||
on: | ||
# Run daily at 1:23 UTC | ||
schedule: | ||
- cron: 23 1 * * * | ||
# Run on demand with workflow dispatch | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
|
||
build_wheel: | ||
name: Build and upload wheel | ||
if: github.repository_owner == 'scikit-hep' | ||
uses: ./.github/workflows/build-distributions.yml | ||
|
||
upload_nightly_wheels: | ||
name: Upload nightly wheels to Anaconda Cloud | ||
needs: [build_wheel] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: distribution-artifact | ||
path: dist | ||
|
||
- name: List wheel to be deployed | ||
run: ls -lha dist/*.whl | ||
|
||
- name: Upload wheel to Anaconda Cloud as nightly | ||
uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0 | ||
with: | ||
artifacts_path: dist | ||
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }} |
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
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
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
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
Oops, something went wrong.