feat(tests): resolve last test issues

This commit is contained in:
perf3ct 2025-06-17 22:17:45 +00:00
parent 4f36e40e38
commit db9636c7ca
3 changed files with 0 additions and 22 deletions

View File

@ -54,17 +54,6 @@ jobs:
working-directory: ./frontend working-directory: ./frontend
run: npm run build 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 - name: Start backend server
run: | run: |

View File

@ -69,13 +69,6 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-cargo- ${{ 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 - name: Build backend
run: cargo build --release run: cargo build --release

View File

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