chore: Add branch input parameter to Frontend Tests workflow

This commit is contained in:
cristhianzl 2024-06-28 12:05:48 -03:00 committed by Gabriel Luiz Freitas Almeida
commit 33000de502

View file

@ -1,6 +1,12 @@
name: Run Frontend Tests
on:
workflow_dispatch:
inputs:
branch:
description: "Branch to run tests on"
required: true
type: string
pull_request:
merge_group:
@ -19,8 +25,8 @@ jobs:
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8]
shardTotal: [8]
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
shardTotal: [10]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
STORE_API_KEY: ${{ secrets.STORE_API_KEY }}