-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add talk from ORIGINS Data Science Lab 2023 seminar series (#1)
* Add talk from ORIGINS Data Science Lab Forum's 2023 seminar series. - https://github.com/matthewfeickert-talks/talk-odsl-forum-seminar-2023 * Add URSSI information. - https://github.com/si2-urssi/summerschool-July2024 * Update information and CI.
- Loading branch information
1 parent
0778e73
commit 66d7173
Showing
139 changed files
with
5,354 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
edit_sys_path: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ['3.x'] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
python -m pip install --upgrade scipy | ||
- name: Run code with sys path edited | ||
run: | | ||
cd examples/edit_sys_path | ||
python example.py | ||
simple: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ['3.x'] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Local install | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
cd examples/simple_packaging | ||
python -m pip install . | ||
- name: List installed Python packages | ||
run: python -m pip list | ||
|
||
- name: Cleanup to have dist build be as clean as possible | ||
run: | | ||
cd examples/simple_packaging | ||
rm -rf src/rosen/_version.py | ||
rm -rf build | ||
- name: Build a sdist and wheel | ||
run: | | ||
cd examples/simple_packaging | ||
pipx run build . | ||
- name: Verify the distribution | ||
run: | | ||
cd examples/simple_packaging | ||
pipx run twine check --strict dist/* | ||
- name: List contents of sdist | ||
run: | | ||
cd examples/simple_packaging | ||
python -m tarfile --list dist/rosen-*.tar.gz | ||
- name: List contents of wheel | ||
run: | | ||
cd examples/simple_packaging | ||
python -m zipfile --list dist/rosen-*.whl | ||
- name: Run tests with pytest | ||
run: | | ||
python -m pip install --upgrade pytest | ||
cd examples/simple_packaging | ||
pytest tests/ | ||
- name: Upload simple packaging dists | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: simple_packaging | ||
path: examples/simple_packaging/dist/ | ||
|
||
compiled: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ['3.x'] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Local install | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
cd examples/compiled_packaging | ||
python -m pip install . | ||
- name: List installed Python packages | ||
run: python -m pip list | ||
|
||
- name: Cleanup to have dist build be as clean as possible | ||
run: | | ||
cd examples/compiled_packaging | ||
rm -rf src/rosen_cpp/_version.py | ||
rm -rf build | ||
- name: Build a sdist and wheel | ||
run: | | ||
cd examples/compiled_packaging | ||
pipx run build . | ||
- name: Verify the distribution | ||
run: | | ||
cd examples/compiled_packaging | ||
pipx run twine check --strict dist/* | ||
- name: List contents of sdist | ||
run: | | ||
cd examples/compiled_packaging | ||
python -m tarfile --list dist/rosen_cpp-*.tar.gz | ||
- name: List contents of wheel | ||
run: | | ||
cd examples/compiled_packaging | ||
python -m zipfile --list dist/rosen_cpp-*.whl | ||
- name: Run tests with pytest | ||
run: | | ||
python -m pip install --upgrade pytest | ||
cd examples/compiled_packaging | ||
pytest tests/ | ||
- name: Upload compiled packaging dists | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: compiled_packaging | ||
path: examples/compiled_packaging/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Deploy GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
tags: [v*] | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Setup site for deployment | ||
run: | | ||
mkdir -p _site | ||
cp -r assets _site/ | ||
cp -r figures _site/ | ||
cp index.html _site/ | ||
cp talk.md _site/ | ||
- name: Fix permissions if needed | ||
run: | | ||
chmod -c -R +rX "_site/" | while read line; do | ||
echo "::warning title=Invalid file permissions automatically fixed::$line" | ||
done | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: '_site' | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,18 @@ | ||
makefile_path := $(abspath $(lastword $(MAKEFILE_LIST))) | ||
dir_path := $(dir $(makefile_path)) | ||
current_dir := $(notdir $(patsubst %/,%,$(dir_path))) | ||
|
||
default: decktape | ||
|
||
all: decktape | ||
|
||
decktape: talk.md | ||
docker run --rm -v ${dir_path}:/slides/ astefanutti/decktape:3.7.0 \ | ||
https://matthewfeickert-talks.github.io/${current_dir}/index.html \ | ||
talk.pdf | ||
cp talk.pdf feickert_urssi-summer-school_2024-07-29.pdf | ||
|
||
decktape_local: talk.md | ||
docker run --rm -t --net=host -v ${dir_path}:/slides astefanutti/decktape:3.7.0 \ | ||
http://localhost:8001 \ | ||
localhost_draft.pdf |
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 |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# talk-urssi-summer-school-2024 | ||
Talk given at as part of July 2024 URSSI Summer School on Research Software and Open Science | ||
# [Distributing your Science: Turning analyses into scientific tools](https://matthewfeickert-talks.github.io/talk-urssi-summer-school-2024/) | ||
|
||
Talk given at as part of the [July 2024 US Research Software Sustainability Institute (URSSI) Summer School on Research Software and Open Science](https://github.com/si2-urssi/summerschool-July2024). | ||
|
||
Viewable online [here](https://matthewfeickert-talks.github.io/talk-urssi-summer-school-2024/). | ||
|
||
A version of this talk was originally given as part of the [ORIGINS Data Science Lab Forum's 2023 seminar series](https://github.com/matthewfeickert-talks/talk-odsl-forum-seminar-2023). | ||
|
||
## Acknowledgments | ||
|
||
* [Matthew Feickert](http://www.matthewfeickert.com/) is supported by the US National Science Foundation under Cooperative Agreements [OAC-1836650](https://nsf.gov/awardsearch/showAward?AWD_ID=1836650) and [PHY-2323298](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2323298) ([IRIS-HEP](https://iris-hep.org/)). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.