feat(ci): add Ollama-specific checks for CI pipeline #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ollama-specific checks | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
test-ollama: | |
runs-on: ubuntu-latest | |
name: Test Ollama Models | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Download Ollama | |
run: curl -fsSL https://ollama.com/install.sh | sh | |
- name: Start Ollama in background | |
run: ollama serve & | |
- name: Pull Microsoft's Phi3 model | |
run: ollama pull phi3 |