mirror of
https://github.com/Xevion/linkpulse.git
synced 2026-01-31 10:24:47 -06:00
Fix railway confirmation blocker, disable JSON logging in test workflow, disable Install library step
This commit is contained in:
Vendored
+8
-4
@@ -31,9 +31,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: cd backend && poetry install --no-interaction --no-root
|
run: cd backend && poetry install --no-interaction --no-root
|
||||||
|
|
||||||
- name: Install library
|
# Disable for now, remove if ultimately not needed.
|
||||||
run: cd backend && poetry install --no-interaction
|
# - name: Install library
|
||||||
|
# run: cd backend && poetry install --no-interaction
|
||||||
|
|
||||||
- name: Acquire Database URL from Railway
|
- name: Acquire Database URL from Railway
|
||||||
env:
|
env:
|
||||||
@@ -41,12 +42,15 @@ jobs:
|
|||||||
SERVICE_ID: Postgres
|
SERVICE_ID: Postgres
|
||||||
ENVIRONMENT_ID: development
|
ENVIRONMENT_ID: development
|
||||||
run: |
|
run: |
|
||||||
bash <(curl -fsSL cli.new)
|
bash <(curl -fsSL cli.new) --verbose --yes
|
||||||
DATABASE_URL=$(railway variables --service $SERVICE_ID --environment $ENVIRONMENT_ID --json | jq -cMr .DATABASE_PUBLIC_URL)
|
DATABASE_URL=$(railway variables --service $SERVICE_ID --environment $ENVIRONMENT_ID --json | jq -cMr .DATABASE_PUBLIC_URL)
|
||||||
echo "::add-mask::$DATABASE_URL"
|
echo "::add-mask::$DATABASE_URL"
|
||||||
echo "DATABASE_URL=$DATABASE_URL" >> "$GITHUB_ENV"
|
echo "DATABASE_URL=$DATABASE_URL" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Pytest
|
- name: Pytest
|
||||||
|
env:
|
||||||
|
LOG_LEVEL: DEBUG
|
||||||
|
LOG_JSON_FORMAT: false
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
set -o pipefail # otherwise 'tee' will eat the exit code
|
set -o pipefail # otherwise 'tee' will eat the exit code
|
||||||
|
|||||||
Reference in New Issue
Block a user