Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

History

History
History
83 lines (83 loc) 路 2.52 KB

File metadata and controls

83 lines (83 loc) 路 2.52 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install protobuf compiler (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends -o Acquire::Retries=3 protobuf-compiler
- name: Install protobuf compiler (Windows)
if: runner.os == 'Windows'
run: choco install protoc -y --no-progress
- name: Install protobuf compiler (macOS)
if: runner.os == 'macOS'
run: brew install protobuf
- name: Install Rust stable
run: rustup update --no-self-update stable
- name: Validate eval fixtures
# Globs every fixture so newly added files are validated without
# workflow edits; *_profile.json are profiles, the rest scenarios.
shell: bash
run: |
args=()
for fixture in anda_brain/evals/*.json; do
case "$fixture" in
*_profile.json) args+=(--profile "$fixture") ;;
*) args+=(--scenario "$fixture") ;;
esac
done
cargo run -p anda_brain -- eval "${args[@]}" --validate-only
- name: Run clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
run: cargo test --workspace -- --nocapture
test-cli:
name: Test anda-cli (Go)
runs-on: ubuntu-latest
defaults:
run:
working-directory: anda-cli
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: anda-cli/go.mod
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Run tests
run: go test ./...
test-openclaw:
name: Test anda-brain-openclaw (TypeScript)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm -C anda-brain-openclaw run typecheck
- name: Lint
run: pnpm -C anda-brain-openclaw run lint
- name: Build
run: pnpm -C anda-brain-openclaw run build
Morty Proxy This is a proxified and sanitized view of the page, visit original site.