feat(tests): resolve last test issues

This commit is contained in:
perf3ct 2025-06-17 22:17:45 +00:00
parent 4c946ca9cc
commit 2c664de159
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
3 changed files with 0 additions and 22 deletions

View File

@ -54,17 +54,6 @@ jobs:
working-directory: ./frontend
run: npm run build
- name: Run database migrations
run: |
# Set environment variables for test database
export DATABASE_URL="postgresql://postgres:postgres@localhost:5432/readur_test"
export TEST_MODE=true
# Run migrations
cargo run --bin migrate
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/readur_test
TEST_MODE: true
- name: Start backend server
run: |

View File

@ -69,13 +69,6 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Install sqlx-cli
run: cargo install sqlx-cli --no-default-features --features postgres
- name: Run database migrations
run: sqlx migrate run
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/readur_test
- name: Build backend
run: cargo build --release

View File

@ -63,10 +63,6 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Run database migrations
run: |
cargo install sqlx-cli --no-default-features --features postgres
sqlx migrate run
- name: Run integration tests
run: |