chore: modernize CI workflow — rename DB, update GitHub Actions to v5
- Rename patherly_test → resolutionflow_test in all Postgres and DB URLs - Update actions/checkout, setup-node, upload-artifact from v4 → v5 (fixes Node.js 20 deprecation warnings) - actions/setup-python already at v5 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_DB: patherly_test
|
POSTGRES_DB: resolutionflow_test
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
options: >-
|
options: >-
|
||||||
@@ -26,14 +26,14 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql+asyncpg://postgres:postgres@localhost:5432/patherly_test
|
DATABASE_URL: postgresql+asyncpg://postgres:postgres@localhost:5432/resolutionflow_test
|
||||||
DATABASE_URL_SYNC: postgresql://postgres:postgres@localhost:5432/patherly_test
|
DATABASE_URL_SYNC: postgresql://postgres:postgres@localhost:5432/resolutionflow_test
|
||||||
SECRET_KEY: ci-test-secret-key-not-for-production
|
SECRET_KEY: ci-test-secret-key-not-for-production
|
||||||
DEBUG: "true"
|
DEBUG: "true"
|
||||||
APP_NAME: ResolutionFlow
|
APP_NAME: ResolutionFlow
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set up Python 3.11
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
@@ -74,10 +74,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set up Node.js 20
|
- name: Set up Node.js 20
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: npm
|
cache: npm
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_DB: patherly_test
|
POSTGRES_DB: resolutionflow_test
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
options: >-
|
options: >-
|
||||||
@@ -114,8 +114,8 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PLAYWRIGHT_DATABASE_URL: postgresql+asyncpg://postgres:postgres@127.0.0.1:5432/patherly_test
|
PLAYWRIGHT_DATABASE_URL: postgresql+asyncpg://postgres:postgres@127.0.0.1:5432/resolutionflow_test
|
||||||
PLAYWRIGHT_DATABASE_URL_SYNC: postgresql://postgres:postgres@127.0.0.1:5432/patherly_test
|
PLAYWRIGHT_DATABASE_URL_SYNC: postgresql://postgres:postgres@127.0.0.1:5432/resolutionflow_test
|
||||||
PLAYWRIGHT_API_ORIGIN: http://127.0.0.1:8000
|
PLAYWRIGHT_API_ORIGIN: http://127.0.0.1:8000
|
||||||
PLAYWRIGHT_BASE_URL: http://127.0.0.1:4173
|
PLAYWRIGHT_BASE_URL: http://127.0.0.1:4173
|
||||||
PLAYWRIGHT_SECRET_KEY: ci-playwright-secret-key
|
PLAYWRIGHT_SECRET_KEY: ci-playwright-secret-key
|
||||||
@@ -123,7 +123,7 @@ jobs:
|
|||||||
PLAYWRIGHT_TEST_PASSWORD: TestPass123!
|
PLAYWRIGHT_TEST_PASSWORD: TestPass123!
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set up Python 3.11
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
@@ -135,7 +135,7 @@ jobs:
|
|||||||
backend/requirements-dev.txt
|
backend/requirements-dev.txt
|
||||||
|
|
||||||
- name: Set up Node.js 20
|
- name: Set up Node.js 20
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: npm
|
cache: npm
|
||||||
@@ -155,7 +155,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Playwright report
|
- name: Upload Playwright report
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: playwright-report
|
name: playwright-report
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
Reference in New Issue
Block a user