Skip to content

Prevent crash on undetected language #23

Prevent crash on undetected language

Prevent crash on undetected language #23

Workflow file for this run

name: English tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
canary-multi-turn:
runs-on: ubuntu-22.04
timeout-minutes: 7
steps:
- uses: actions/checkout@v4
- run: ./gamal.js tests/en/canary-multi-turn.txt
env:
LLM_API_BASE_URL: ${{ secrets.LLM_API_BASE_URL }}
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
LLM_CHAT_MODEL: ${{ secrets.LLM_CHAT_MODEL }}
high-school-stem:
runs-on: ubuntu-22.04
needs: canary-multi-turn
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- run: ./gamal.js tests/en/high-school-stem.txt
env:
LLM_API_BASE_URL: ${{ secrets.LLM_API_BASE_URL }}
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
LLM_CHAT_MODEL: ${{ secrets.LLM_CHAT_MODEL }}
latest-news:
runs-on: ubuntu-22.04
needs: high-school-stem
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- run: ./gamal.js tests/en/latest-news.txt
env:
LLM_API_BASE_URL: ${{ secrets.LLM_API_BASE_URL }}
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
LLM_CHAT_MODEL: ${{ secrets.LLM_CHAT_MODEL }}