Skip to content

Commit 958ff9a

Browse files
committed
ci: trigger individual run
1 parent 71a1dda commit 958ff9a

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/run-individual-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ name: Individual
22

33
on:
44
workflow_dispatch:
5+
pull_request:
6+
paths-ignore:
7+
- '**.js'
8+
- '**.css'
9+
- '**.svg'
10+
- '**.md'
11+
- '**.html'
12+
- 'crowdin.yml'
13+
- '.coderabbit.yml'
14+
- '.mergify.yml'
515

616
concurrency:
717
group: server-individual-tests-lightmode-develop
@@ -21,7 +31,7 @@ jobs:
2131
- id: set-matrix
2232
run: |
2333
# Use grep and find to get the list of test files
24-
matrix=$(find . -path '*/test_*.py' | xargs grep -l 'def test_' | sort | awk '{
34+
matrix=$(find . -path '*/test_*.py' | xargs grep -l 'def test_' | sort | head -n 20 | awk '{
2535
# Remove ./ prefix, file extension, and replace / with .
2636
gsub(/^\.\//, "", $0)
2737
gsub(/\.py$/, "", $0)

0 commit comments

Comments
 (0)