mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-19 20:27:01 +00:00
Fix test workflows to use build artifacts instead of local binary
- Build workflow now uploads ollama binary as artifact with 7-day retention - Test workflows download artifact instead of expecting local binary - Eliminates 'ollama binary not found' error when running tests - Enables build-once, test-multiple-times workflow pattern - Added binary verification step to confirm artifact download
This commit is contained in:
14
.github/workflows/tesla-k80-single-gpu-tests.yml
vendored
14
.github/workflows/tesla-k80-single-gpu-tests.yml
vendored
@@ -13,13 +13,17 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Verify ollama binary exists
|
||||
- name: Download ollama binary from build workflow
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ollama-binary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Make ollama binary executable
|
||||
run: |
|
||||
if [ ! -f ./ollama ]; then
|
||||
echo "Error: ollama binary not found. Please run the build workflow first."
|
||||
exit 1
|
||||
fi
|
||||
chmod +x ollama
|
||||
ls -lh ollama
|
||||
./ollama --version
|
||||
|
||||
- name: Build test-runner
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user