From a668855cb94a5f8a1de0b4a8401534c92873d8d6 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Mon, 29 Apr 2024 16:58:42 -0700 Subject: [PATCH] master: bash.yml: revert to HEAD~1 and use prefix=build/prefix. --- .github/workflows/bash.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bash.yml b/.github/workflows/bash.yml index bd45ee5..a29c3ea 100644 --- a/.github/workflows/bash.yml +++ b/.github/workflows/bash.yml @@ -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