Merge dev to main: Security improvements and comprehensive test infrastructure #39
+10
-11
@@ -10,24 +10,20 @@ jobs:
|
||||
backend-tests:
|
||||
name: Backend Tests
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: python:3.12-slim
|
||||
env:
|
||||
SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum
|
||||
|
||||
steps:
|
||||
- name: Check workspace
|
||||
- name: Install Python
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
ls -la dashboard/ || echo "dashboard directory not found"
|
||||
apt-get update && apt-get install -y python3 python3-pip python3-venv
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd dashboard/backend
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
pip install pytest-timeout
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install -r requirements-dev.txt
|
||||
pip3 install pytest-timeout
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
@@ -44,10 +40,13 @@ jobs:
|
||||
frontend-tests:
|
||||
name: Frontend Tests
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: node:20-slim
|
||||
|
||||
steps:
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt-get install -y nodejs
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd dashboard/frontend
|
||||
|
||||
Reference in New Issue
Block a user