Fix test workflow to use current branch code instead of main branch

This commit is contained in:
Scott Yeager
2025-10-09 15:15:21 -07:00
parent 1a46cc5e1e
commit d3fd0ef950

View File

@@ -24,8 +24,18 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup V & Herolib
run: ./install_v.sh --herolib
- name: Setup V
run: ./install_v.sh
- name: Setup Herolib from current branch
run: |
# Create necessary directories
mkdir -p ~/.vmodules/freeflowuniverse
# Remove any existing herolib symlink
rm -f ~/.vmodules/freeflowuniverse/herolib
# Create symlink to current code
ln -s $(pwd)/lib ~/.vmodules/freeflowuniverse/herolib
echo "Herolib symlink created to current branch code!"
- name: Do all the basic tests
run: ./test_basic.vsh