Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

fix(ci): resolve PostgreSQL service port context

Mafifrizi0bc059fd8a17
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8ffd27a..e308153 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,7 +48,6 @@ jobs:
--health-retries 5
env:
ARES_TEST_POSTGRES_HOST: 127.0.0.1
- ARES_TEST_POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
ARES_TEST_POSTGRES_USER: ares_ci_runner
ARES_TEST_POSTGRES_DB: ares_ci_control
steps:
@@ -58,7 +57,9 @@ jobs:
python-version: "3.12"
- run: python -m pip install --upgrade pip
- run: pip install -e ".[dev,postgres]"
- - run: >-
+ - env:
+ ARES_TEST_POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
+ run: >-
pytest tests/integration/test_postgres_*.py
-q --tb=short --timeout=60 --timeout-method=thread --maxfail=1
--basetemp="${{ runner.temp }}/ares-postgres-pytest"