Fix CI workflow paths: use testdatagen instead of depviz
This commit is contained in:
@@ -2,9 +2,9 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [ main, master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [ main, master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.10'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -24,6 +24,9 @@ jobs:
|
|||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: ruff check src/
|
run: ruff check src/
|
||||||
|
|
||||||
|
- name: Run type checking
|
||||||
|
run: mypy src/testdatagen/ || true
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests/ -v
|
run: pytest tests/ -v
|
||||||
|
|
||||||
@@ -36,13 +39,18 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.10'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install build dependencies
|
||||||
run: pip install -e .
|
run: |
|
||||||
|
pip install build
|
||||||
|
|
||||||
- name: Verify import
|
- name: Build package
|
||||||
run: python -c "import memory_manager; print(memory_manager.__version__)"
|
run: |
|
||||||
|
python -m build
|
||||||
|
|
||||||
- name: Verify CLI
|
- name: Upload artifacts
|
||||||
run: memory --version
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: dist
|
||||||
|
path: dist/
|
||||||
|
|||||||
Reference in New Issue
Block a user