File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 5757 working-directory : tools/pypi-whl
5858 - name : Print out the content of the dist folder after building the wheel
5959 run : ls -l tools/pypi-whl/dist/
60+ - name : Validate the wheel installs the BIDS validator correctly
61+ run : |
62+ python -m venv .venv
63+ if [[ "$RUNNER_OS" == "Windows" ]]; then
64+ ACTIVATE_PATH=.venv/Scripts/activate
65+ BIDS_VALIDATOR_BINARY_NAME=bids-validator.exe
66+ VENV_BIN_DIR=.venv/Scripts
67+ else
68+ ACTIVATE_PATH=.venv/bin/activate
69+ BIDS_VALIDATOR_BINARY_NAME=bids-validator
70+ VENV_BIN_DIR=.venv/bin
71+ fi
72+ source "$ACTIVATE_PATH"
73+ pip install tools/pypi-whl/dist/*.whl
74+ bids-validator --version
75+ ls -lh "$VENV_BIN_DIR"
76+ diff "$VENV_BIN_DIR"/"$BIDS_VALIDATOR_BINARY_NAME" tools/pypi-whl/dist/"$BIDS_VALIDATOR_BINARY_NAME"
77+ deactivate
78+ shell : bash
6079 - name : Check if distribution's description will render correctly on PyPI
6180 run : twine check tools/pypi-whl/dist/*.whl
6281 - uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments