Merge dev to main: Security improvements and comprehensive test infrastructure #39
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user