Skip to content
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d0fe6f4
Pin CI uses to specific hashes
janbridley Aug 18, 2025
dfd0976
Fix pypi-test-and-publish pins
janbridley Aug 18, 2025
f0a0962
Use uv build
janbridley Aug 18, 2025
3d38741
Fix typo
janbridley Aug 18, 2025
30d34a1
Properly set python version
janbridley Aug 18, 2025
e883d53
WIP
janbridley Aug 18, 2025
fe4bd3b
Fix missing bracket
janbridley Aug 18, 2025
3f04c33
Remove unused comment
janbridley Aug 18, 2025
dfba64a
Test uv run
janbridley Aug 18, 2025
f833a84
Use uv run
janbridley Aug 18, 2025
9f9d849
https://docs.pytest.org/en/stable/explanation/pythonpath.html
janbridley Aug 18, 2025
3124a4f
Properly set env vars
janbridley Aug 18, 2025
06c6522
Swap back to activate-environment
janbridley Aug 18, 2025
a6e2269
Remove init
janbridley Aug 18, 2025
068b442
uv run pytest
janbridley Aug 18, 2025
643d3e6
uv lock
janbridley Aug 18, 2025
be900ee
Add debug echo
janbridley Aug 18, 2025
2364f08
More debugs
janbridley Aug 18, 2025
978ca4f
Swap back to setup-python
janbridley Aug 18, 2025
dc643c0
Pin
janbridley Aug 18, 2025
4695651
Bump uv version
janbridley Aug 18, 2025
a9347e5
uv python
janbridley Aug 18, 2025
f1a5d30
Python version from matrix
janbridley Aug 18, 2025
4e19d3f
setup-python
janbridley Aug 18, 2025
2a9038c
Reenable doc deps
janbridley Aug 18, 2025
1687e33
Properly setup uv
janbridley Aug 18, 2025
3a98226
Set check-url to allow repeat uploads
janbridley Aug 18, 2025
618b5b0
Fix typo
janbridley Aug 18, 2025
434a8a8
Remove check
janbridley Aug 18, 2025
16a77bb
Remove uv publish
janbridley Aug 18, 2025
c6942d6
Test comment
janbridley Aug 18, 2025
9a63b83
re-enagle failing action
janbridley Aug 18, 2025
e440d0e
Add pin labels
janbridley Aug 20, 2025
88ddf8c
Pre-commit autoupdate
janbridley Aug 20, 2025
d3dbaf8
Address lints
janbridley Aug 20, 2025
6b9d0f9
Remove unused folder
janbridley Aug 20, 2025
61f2435
One last try for uv run
janbridley Aug 20, 2025
83dce14
Restore
janbridley Aug 20, 2025
b95e65d
Use fork for pypi test and publish
janbridley Aug 25, 2025
e4e410f
Test specific commit
janbridley Aug 25, 2025
f06d18f
Add TODOs
janbridley Aug 25, 2025
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
28 changes: 13 additions & 15 deletions .github/workflows/pypi-test-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-[email protected]
- name: Install uv
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1
with:
python-version: "3.x"

- name: Install pypa/build
run: python3 -m pip install build --user
- name: Build a binary wheel and a source tarball
run: PYTHONWARNINGS=error python3 -m build
version: "0.8.11"
- name: uv build
run: uv build --verbose -o dist
- name: Store the distribution packages
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: python-package-distributions
path: dist/
Expand All @@ -45,12 +42,12 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
with:
name: python-package-distributions
path: dist/
- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
with:
repository-url: https://test.pypi.org/legacy/
verbose: true
Expand All @@ -70,9 +67,10 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
with:
name: python-package-distributions
path: dist/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.4
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
8 changes: 4 additions & 4 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
run_test:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: ${{ inputs.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1
with:
version: "0.6.6"
version: "0.8.11"

- name: Install package
run: |
Expand Down
Loading