Skip to content

Commit

Permalink
CI: Test on Hyperbolic
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Sep 13, 2024
1 parent 4f58cfd commit dbfc81c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test-hyperbolic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test on Hyperbolic

on:
push:
branches: [main]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '18'

- run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter
timeout-minutes: 3
env:
LLM_API_BASE_URL: 'https://api.hyperbolic.xyz/v1'
LLM_API_KEY: ${{ secrets.HYPERBOLIC_API_KEY }}
LLM_CHAT_MODEL: 'meta-llama/Meta-Llama-3.1-8B-Instruct'

- run: cat output.txt

0 comments on commit dbfc81c

Please sign in to comment.