Skip to content

Commit 285163a

Browse files
authoredFeb 13, 2025
Merge pull request #40 from codecov/Ajay/update-split-var-inputs
fix: update split / group var inputs
2 parents dc48c20 + ef5e48b commit 285163a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎.github/workflows/run-tests-split.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
repo:
1111
type: string
1212
required: true
13+
split:
14+
type: number
15+
required: false
16+
default: 5
1317
env:
1418
AR_REPO: ${{ inputs.repo }}
1519

@@ -50,11 +54,11 @@ jobs:
5054
make test_env.check_db
5155
- name: Run unit tests
5256
run: |
53-
make test_env.run_unit --group ${{ matrix.group }}
57+
make test_env.run_unit GROUP=${{ matrix.group }} SPLIT=${{ inputs.split }}
5458
- name: Run integration tests
5559
if: inputs.run_integration == true
5660
run: |
57-
make test_env.run_integration --group ${{ matrix.group }}
61+
make test_env.run_integration GROUP=${{ matrix.group }} SPLIT=${{ inputs.split }}
5862
## Don't upload on forks for now.
5963
- name: upload using codecovcli
6064
if: ${{ !cancelled() && !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}

0 commit comments

Comments
 (0)
Please sign in to comment.