mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: Windows Smoke
|
|
|
|
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:
|
|
cli-smoke:
|
|
name: CLI smoke - py${{ matrix.python-version }}
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.11"]
|
|
|
|
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 package
|
|
run: |
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
pip install -e packages/reme_ai_studio -e ".[dev,core]"
|
|
|
|
- name: Run version job
|
|
run: reme start service.backend=cli job=version
|
|
|
|
- name: Run Windows path tests
|
|
run: |
|
|
python -m pytest `
|
|
tests/unit/test_auto_dream.py::test_scan_day_files_includes_nested_md_and_excludes_interests `
|
|
tests/unit/test_auto_dream.py::test_dream_extract_matches_posix_catalog_paths `
|
|
tests/unit/test_read_with_neighbors.py::test_read_with_neighbors_uses_posix_nested_path `
|
|
-v
|