ci/cd: skip e2e tests if the PR comes from i18n_crowdin

This commit is contained in:
Elias Schneider
2025-03-21 22:30:37 +01:00
parent edf1097dd3
commit af5b2f7913

View File

@@ -6,17 +6,16 @@ on:
- "docs/**"
- "**.md"
- ".github/**"
- "frontend/messages/**"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "**.md"
- ".github/**"
- "frontend/messages/**"
jobs:
build:
if: github.event.pull_request.head.ref != 'i18n_crowdin'
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
@@ -36,6 +35,7 @@ jobs:
path: /tmp/docker-image.tar
test-sqlite:
if: github.event.pull_request.head.ref != 'i18n_crowdin'
runs-on: ubuntu-latest
needs: build
steps:
@@ -82,6 +82,7 @@ jobs:
retention-days: 15
test-postgres:
if: github.event.pull_request.head.ref != 'i18n_crowdin'
runs-on: ubuntu-latest
needs: build
steps:
@@ -147,7 +148,7 @@ jobs:
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
if: always() && github.event.pull_request.head.ref != 'i18n_crowdin'
with:
name: playwright-report-postgres
path: frontend/tests/.report