Merge dev to main: Security improvements and comprehensive test infrastructure #39

Merged
jimmy merged 195 commits from dev into main 2026-04-08 01:42:27 +08:00
Showing only changes of commit 87af015ef1 - Show all commits
+7 -3
View File
@@ -26,19 +26,23 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
cd dashboard/backend cd dashboard/backend
pip3 install --break-system-packages -r requirements.txt python3 -m venv venv
pip3 install --break-system-packages -r requirements-dev.txt . venv/bin/activate
pip3 install --break-system-packages pytest-timeout pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install pytest-timeout
- name: Run unit tests - name: Run unit tests
run: | run: |
cd dashboard/backend cd dashboard/backend
. venv/bin/activate
pytest tests/unit/ -v --timeout=30 -x pytest tests/unit/ -v --timeout=30 -x
echo "✅ Unit tests passed" echo "✅ Unit tests passed"
- name: Run integration tests - name: Run integration tests
run: | run: |
cd dashboard/backend cd dashboard/backend
. venv/bin/activate
pytest tests/integration/ -v --timeout=30 -x pytest tests/integration/ -v --timeout=30 -x
echo "✅ Integration tests passed" echo "✅ Integration tests passed"