43 lines
821 B
YAML
43 lines
821 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
# branches: [master, develop]
|
|
branches: [master]
|
|
pull_request:
|
|
# branches: [master, develop]
|
|
branches: [master]
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 24.x
|
|
cache: pnpm
|
|
|
|
- name: Enable Corepack
|
|
run: corepack enable
|
|
|
|
- name: Install
|
|
run: pnpm install
|
|
|
|
- name: Run agent unit tests
|
|
run: pnpm run test:agent:unit
|
|
|
|
- name: Run workflow unit tests
|
|
run: pnpm run test:workflow:unit
|
|
|
|
- name: Run workflow e2e tests
|
|
run: pnpm run test:workflow:e2e
|