Skip to content

Commit 72c5559

Browse files
authored
Refine comments in unittest.yml for clarity
Updated comments to clarify test case categorization and resource management in CI/CD.
1 parent bc920a1 commit 72c5559

1 file changed

Lines changed: 6 additions & 22 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,12 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
# To save time and resources, and manage dependency compatibility,
36-
# we divide test cases into 3 groups
37-
# and run them in different configurations:
38-
# - Core (O): All supported Python versions on Ubuntu,
39-
# plus latest and earliest Python versions
40-
# on all supported OSes
41-
# - Compact (C): Second-latest and earliest supported Python versions
42-
# on all supported OSes, plus latest on Ubuntu
43-
# - Extra (X): Second-latest supported Python version on Ubuntu only
44-
#
45-
# | Python | Ubuntu | Windows | macOS |
46-
# |--------|---------|---------|-------|
47-
# | 3.14 | O+C | O | O |
48-
# | 3.13 | O+C+X | O+C | O+C |
49-
# | 3.12 | O | | |
50-
# | 3.11 | O | | |
51-
# | 3.10 | O | | |
52-
# | 3.9 | O+C | O+C | O+C |
53-
#
54-
# We should also consider to reduce the number of dependencies
55-
# to avoid conflicts between them.
56-
# See: https://github.com/PyThaiNLP/pythainlp/issues/935
35+
# To optimize CI/CD resource utilization and manage dependency overhead,
36+
# tests are categorized into four tiers based on their resource requirements
37+
# and dependency complexity: "core", "compact", "extra", and "noauto".
38+
# Test cases in "noauto" will not be included here.
39+
# See details of test matrix in:
40+
# https://github.com/PyThaiNLP/pythainlp/blob/dev/tests/README.md
5741
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
5842
python-version: ["3.14", "3.9"] # Latest and earliest
5943
include:

0 commit comments

Comments
 (0)