Skip to content

fix: 補上 SSE error 事件的 message 提取路徑 (#25) #15

fix: 補上 SSE error 事件的 message 提取路徑 (#25)

fix: 補上 SSE error 事件的 message 提取路徑 (#25) #15

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
shellcheck-bats:
runs-on: ubuntu-latest
defaults:
run:
working-directory: plugins/parallel-ai-agents
steps:
- uses: actions/checkout@v4
- name: Install bats
run: sudo apt-get update && sudo apt-get install -y bats
# shellcheck 已預裝在 ubuntu-latest runner
- name: shellcheck
run: shellcheck bin/pai-build-diff bin/pai-parse-verdict bin/pai-iter-commit
- name: py_compile
run: python3 -m py_compile bin/pai-parse-lens-csv
- name: bats
run: bats test/
- name: node tests
run: for t in test/*.test.mjs; do echo "$t"; node "$t"; done