mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
69 lines
2 KiB
YAML
69 lines
2 KiB
YAML
name: CI / Windows
|
|
|
|
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
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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@v7
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '22'
|
|
cache: npm
|
|
cache-dependency-path: website/package-lock.json
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v6
|
|
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: Build Studio static workspace
|
|
working-directory: website
|
|
run: |
|
|
npm ci
|
|
npm run build:static
|
|
|
|
- name: Verify editable source installation serves Studio
|
|
shell: pwsh
|
|
run: |
|
|
Push-Location $env:RUNNER_TEMP
|
|
python -c "from reme.utils import resolve_web_static_dir; assert (resolve_web_static_dir() / 'index.html').is_file()"
|
|
Pop-Location
|
|
|
|
- name: Run version job
|
|
run: reme start config=tests/fixtures/config/version-smoke.yaml 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
|