fix: run steps in parallel within each workflow

All build steps and test steps now have depends_on: [] so they
execute concurrently within their workflow instead of sequentially.
This commit is contained in:
Celes Renata
2026-04-20 04:07:26 +00:00
parent 40eacdf8d2
commit a735e569b2
4 changed files with 239 additions and 300 deletions
+15 -14
View File
@@ -1,14 +1,14 @@
# Workflow 1: Lint and tests (node A)
when:
event: [push, pull_request]
event:
- push
- pull_request
steps:
lint-python:
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
commands:
- pip install ruff==0.15.10 --quiet
- ruff --version
- ruff check --output-format=concise .
- pip install ruff==0.15.10 --quiet
- ruff --version
- ruff check --output-format=concise .
backend_options:
kubernetes:
resources:
@@ -18,13 +18,13 @@ steps:
limits:
memory: 512Mi
cpu: 1000m
depends_on: []
test-python:
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
commands:
- pip install -r requirements.txt --quiet
- pip install hypothesis --quiet
- pytest tests/ -x --tb=short -q --ignore=tests/integration
- pip install -r requirements.txt --quiet
- pip install hypothesis --quiet
- pytest tests/ -x --tb=short -q --ignore=tests/integration
backend_options:
kubernetes:
resources:
@@ -34,13 +34,13 @@ steps:
limits:
memory: 1Gi
cpu: 2000m
depends_on: []
test-frontend:
image: registry.celestium.life/dockerhub-cache/library/node:24-slim
commands:
- cd frontend
- npm ci
- npx vitest --run
- cd frontend
- npm ci
- npx vitest --run
backend_options:
kubernetes:
resources:
@@ -50,3 +50,4 @@ steps:
limits:
memory: 1Gi
cpu: 2000m
depends_on: []