Skip to content

Commit

Permalink
master: bash.yml: revert to HEAD~1 and use prefix=build/prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Apr 29, 2024
1 parent b3835fa commit a668855
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,18 @@ jobs:
shell: bash -el {0}
run: |
echo 'matrix.os = ${{ matrix.os }}'
prefix='build/prefix'
pip install pytest
pip install --prefix=build/prefix .
export PYTHONPATH=$(find build/prefix -name 'site-packages')
pip install --prefix=$prefix .
export PYTHONPATH=$(find $prefix -name 'site-packages')
sed -i -e "s|'pyenchant'|'pyspellchecker'|" xrst.toml
#
if [ '${{ matrix.os }}' == 'windows-latest' ]
then
bin_dir='Scripts'
sed -i -e 's|/bin/xrst|/Scripts/xrst|' bin/check_install.sh
else
bin_dir='bin'
fi
export PATH="build/prefix/$bin_dir:$PATH"
bin/check_install.sh
export PATH="$prefix/$bin_dir:$PATH"
$prefix/$bin_dir/xrst --suppress_spell_warnings
# bin/check_all.sh

0 comments on commit a668855

Please sign in to comment.