From ffd2c2de0ad8ff630cd3a4c47592bfd226ca7c66 Mon Sep 17 00:00:00 2001 From: perf3ct Date: Wed, 18 Jun 2025 19:49:06 +0000 Subject: [PATCH] fix(tests): remove 'test' workflow as it's redundant --- .github/workflows/test.yml | 70 -------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 94edbe7..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Test - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - CARGO_TERM_COLOR: always - -jobs: - test: - runs-on: ubuntu-latest - - services: - postgres: - image: postgres:15 - env: - POSTGRES_USER: readur - POSTGRES_PASSWORD: readur_password - POSTGRES_DB: readur_test - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5432:5432 - - steps: - - uses: actions/checkout@v3 - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y \ - tesseract-ocr \ - tesseract-ocr-eng \ - libtesseract-dev \ - libleptonica-dev \ - pkg-config \ - libclang-dev \ - clang - - - name: Cache Rust dependencies - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - - name: Run tests - run: cargo test - env: - TEST_DATABASE_URL: postgresql://readur:readur_password@localhost:5432/readur_test - - - name: Run frontend tests - working-directory: ./frontend - run: | - npm ci - npm test \ No newline at end of file