mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
* feat: add DSH memory integration and organize extensions * fix: support newer DSH release candidates * fix: address DSH integration review feedback * fix: handle DSH cross-day retry edge cases
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: Tests ReMe
|
|
|
|
on:
|
|
push:
|
|
branches: [main, master, dev, develop]
|
|
pull_request:
|
|
branches: [main, master, dev, develop]
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
unit-tests:
|
|
name: Unit Tests - py${{ matrix.python-version }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.11", "3.12", "3.13"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: 'pip'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
pip install -e packages/reme_ai_studio -e ".[dev,core]"
|
|
pip install --no-deps -e plugins/auto-fin
|
|
pip install coverage
|
|
|
|
- name: Run unit tests
|
|
run: |
|
|
coverage run -m pytest tests/unit plugins/auto-fin \
|
|
-v \
|
|
--tb=long \
|
|
-s \
|
|
--log-cli-level=WARNING
|
|
|
|
- name: Generate coverage report
|
|
run: coverage report -m
|