Fix test workflow to use checked out code rather than default branch

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

View File

@@ -24,9 +24,19 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup V & Herolib - name: Setup V
run: ./install_v.sh --herolib run: |
# Updating man-db takes a long time on every run. We don't need it
apt-get remove -y --purge man-db
./install_v.sh
- name: Setup Herolib from current branch
run: |
# Create necessary directories
mkdir -p ~/.vmodules/freeflowuniverse
# Create symlink to current code
ln -s $(pwd)/lib ~/.vmodules/freeflowuniverse/herolib
echo "Herolib symlink created to $(pwd)/lib"
- name: Do all the basic tests - name: Do all the basic tests
run: ./test_basic.vsh run: ./test_basic.vsh