We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a1dda commit 958ff9aCopy full SHA for 958ff9a
1 file changed
.github/workflows/run-individual-tests.yml
@@ -2,6 +2,16 @@ name: Individual
2
3
on:
4
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'
15
16
concurrency:
17
group: server-individual-tests-lightmode-develop
@@ -21,7 +31,7 @@ jobs:
21
31
- id: set-matrix
22
32
run: |
23
33
# 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 '{
25
35
# Remove ./ prefix, file extension, and replace / with .
26
36
gsub(/^\.\//, "", $0)
27
37
gsub(/\.py$/, "", $0)
0 commit comments