Skip to content

Commit

Permalink
run e2e only when frontend label is here
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed Feb 13, 2025
1 parent f131f12 commit 1db85d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: "_Tests"

on:
workflow_call:
pull_request:
types: [labeled, opened, synchronize]

defaults:
run:
Expand Down Expand Up @@ -71,6 +73,7 @@ jobs:

e2e:
runs-on: ubuntu-latest
if: contains(join(github.event.pull_request.labels.*.name, ','), 'frontend')
strategy:
matrix:
shard: [1/5, 2/5, 3/5, 4/5, 5/5]
Expand Down

0 comments on commit 1db85d8

Please sign in to comment.