generalbots/.forgejo/workflows/bottest.yaml
Rodrigo Rodriguez (Pragmatismo) 6e822356ac
Some checks failed
Botlib CI / build (push) Successful in 3s
BotServer CI / build (push) Failing after 3s
Bottest CI / build (push) Successful in 1m23s
fix(ci): Move env to job level, use vars for SYSTEM_HOST
- Move env block from workflow root to job level (Forgejo requirement)
- Replace hardcoded IP with ${{ vars.SYSTEM_HOST }} variable
- Fixes 'yaml: line 11: did not find expected key' error
- Applies to all 4 workflows: botlib, botserver, bottest, botui
2026-04-22 13:32:54 +00:00

24 lines
601 B
YAML

name: Bottest CI
on:
push:
branches: [main]
jobs:
build:
runs-on: gbo
env:
CARGO_TARGET_DIR: /opt/gbo/work/target
RUSTC_WRAPPER: ""
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SKIP_INTEGRATION_TESTS: "1"
SKIP_E2E_TESTS: "1"
steps:
- name: Setup
run: |
cd /opt/gbo/work/generalbots
git reset --hard HEAD
git clean -fd
git pull
- name: Test
run: |
cd /opt/gbo/work/generalbots
CARGO_BUILD_JOBS=4 cargo test -p bottest