diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index ba1d989..9689188 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -6,29 +6,8 @@ on: - main jobs: - unit-tests: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run unit tests - run: npm run test:run - analyze-bump-type: runs-on: ubuntu-latest - needs: unit-tests - if: success() steps: - name: Checkout code diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 7ba1182..1455602 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,9 +5,6 @@ on: branches: - '**' - '!main' # Skip main branch (release workflow handles that) - pull_request: - branches: - - main jobs: unit-tests: @@ -28,28 +25,3 @@ jobs: - name: Run unit tests run: npm run test:run - - # Acceptance tests that don't require DB read/write - # Only run on pull requests to main - safe-acceptance-tests: - runs-on: ubuntu-latest - needs: unit-tests - if: github.event_name == 'pull_request' - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run safe acceptance tests - # These tests should not read/write to the database - # They might test UI components, routing, or static content - run: npm run test:acceptance -- --grep "safe|static|ui|component"