Skip to content

Commit

Permalink
Merge pull request #41 from Mehrn0ush/develop
Browse files Browse the repository at this point in the history
ensure the PostgreSQL and Redis services are properly configured and …
  • Loading branch information
Mehrn0ush authored Oct 26, 2024
2 parents c644fa8 + cb54596 commit 42535b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/feature-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
until pg_isready -h localhost -p 5432 -U rustify_auth; do
sleep 1
done
sleep 10 # Additional wait time for stability
sleep 5 # Additional wait time for stability
- name: Run migrations
env:
Expand All @@ -85,7 +85,7 @@ jobs:
refresh_token VARCHAR,
expires_at TIMESTAMP,
scope VARCHAR,
client_id VARCHAR REFERENCES clients(client_id),
client_id VARCHAR REFERENCES clients(client_id) ON DELETE CASCADE,
token_type VARCHAR DEFAULT 'Bearer'
);
EOF
Expand All @@ -104,8 +104,8 @@ jobs:
DATABASE_URL: postgres://rustify_auth:password@localhost:5432/rustify_auth_db
REDIS_URL: redis://localhost:6379
JWT_SECRET: test_secret
RUST_BACKTRACE: 1
RUST_LOG: debug # Enable detailed Rust logs
RUST_BACKTRACE: full
RUST_LOG: debug
run: cargo test -- --test-threads=1

format:
Expand Down

0 comments on commit 42535b5

Please sign in to comment.