diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index a0b7a32..adaf2d9 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -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: | diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 6324497..73e2612 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -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 diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 8e5f67e..a2d876d 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -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: |