From 8da4eb30e3eeda5e217ac224e9965327cd113c54 Mon Sep 17 00:00:00 2001 From: Developer Date: Sun, 22 Mar 2026 19:47:25 +0000 Subject: [PATCH] Fix CI workflow paths: use testdatagen instead of depviz --- .gitea/workflows/ci.yml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9dde676..f55076b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: [ main, master ] pull_request: - branches: [main] + branches: [ main, master ] jobs: test: @@ -15,7 +15,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.10' - name: Install dependencies run: | @@ -24,6 +24,9 @@ jobs: - name: Run linting run: ruff check src/ + - name: Run type checking + run: mypy src/testdatagen/ || true + - name: Run tests run: pytest tests/ -v @@ -36,13 +39,18 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.10' - - name: Install dependencies - run: pip install -e . + - name: Install build dependencies + run: | + pip install build - - name: Verify import - run: python -c "import memory_manager; print(memory_manager.__version__)" + - name: Build package + run: | + python -m build - - name: Verify CLI - run: memory --version + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: dist + path: dist/