Update name (#7)
Rust Build / Rustfmt (push) Successful in 54s
Rust Build / Test Suite (push) Successful in 1m35s
Rust Build / Check (push) Successful in 1m39s
Rust Build / build (push) Successful in 1m37s
Rust Build / Clippy (push) Successful in 2m33s
Rust Build / Check (pull_request) Successful in 1m13s
Rust Build / Test Suite (pull_request) Successful in 1m27s
Rust Build / Rustfmt (pull_request) Successful in 1m28s
Rust Build / Clippy (pull_request) Successful in 1m19s
Rust Build / build (pull_request) Successful in 1m46s

Reviewed-on: phoenix/textsender_api#7
This commit was merged in pull request #7.
This commit is contained in:
2026-06-13 14:04:50 -04:00
parent 1d9267e036
commit 7107a50d58
5 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -43,6 +43,7 @@ jobs:
POSTGRES_USER: ${{ secrets.DB_TEST_USER || 'testuser' }}
POSTGRES_PASSWORD: ${{ secrets.DB_TEST_PASSWORD || 'testpassword' }}
POSTGRES_DB: ${{ secrets.DB_TEST_NAME || 'testdb' }}
POSTGRES_PORT: ${{ secrets.DB_PORT || 5432 }}
# Options to wait until the database is ready
options: >-
--health-cmd pg_isready
@@ -72,7 +73,7 @@ jobs:
- name: Run tests
env:
# Define DATABASE_URL for tests to use
DATABASE_URL: postgresql://${{ secrets.DB_TEST_USER || 'testuser' }}:${{ secrets.DB_TEST_PASSWORD || 'testpassword' }}@postgres:5432/${{ secrets.DB_TEST_NAME || 'testdb' }}
DATABASE_URL: postgresql://${{ secrets.DB_TEST_USER || 'testuser' }}:${{ secrets.DB_TEST_PASSWORD || 'testpassword' }}@postgres:${{ secrets.DB_PORT || 5432 }}/${{ secrets.DB_TEST_NAME || 'testdb' }}
RUST_LOG: info # Optional: configure test log level
SECRET_KEY: ${{ secrets.SECRET_KEY }}
# Make SSH agent available if tests fetch private dependencies