Skip to content

Commit

Permalink
Trying to get pypi build working again
Browse files Browse the repository at this point in the history
  • Loading branch information
bbfrederick committed Oct 10, 2023
1 parent c0674c5 commit 643b0f7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,20 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
ref: ${{ github.head_ref }} # checkout the correct branch name
fetch-depth: 0

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
git fetch --prune --unshallow
python setup.py sdist bdist_wheel
twine upload dist/*
17 changes: 17 additions & 0 deletions testdocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@ docker run \
--nprocs 4 \
--noglm

docker run \
--rm \
--ipc host \
--mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
-it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-u rapidtide fredericklab/rapidtide:latest \
rapidtide \
/data/src/sub-RAPIDTIDETEST.nii.gz \
/data/dst/sub-RAPIDTIDETEST_disabledockermemfix \
--disabledockermemfix \
--passes 3 \
--nprocs 4 \
--noglm

exit

docker run \
--rm \
--ipc host \
Expand Down

0 comments on commit 643b0f7

Please sign in to comment.