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:
+15
-14
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user