1- name : CodeEntropy PR
1+ name : CodeEntropy CI
22
33on :
44 pull_request :
@@ -9,7 +9,7 @@ concurrency:
99
1010jobs :
1111 unit :
12- name : Unit tests (py${{ matrix.python-version }} • ${{ matrix.os }})
12+ name : Unit
1313 runs-on : ${{ matrix.os }}
1414 timeout-minutes : 25
1515 strategy :
1818 os : [ubuntu-24.04, macos-14, windows-2025]
1919 python-version : ["3.12", "3.13", "3.14"]
2020 steps :
21- - name : Checkout repo
21+ - name : Checkout
2222 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2323
2424 - name : Set up Python ${{ matrix.python-version }}
@@ -27,55 +27,48 @@ jobs:
2727 python-version : ${{ matrix.python-version }}
2828 cache : pip
2929
30- - name : Install CodeEntropy and its testing dependencies
30+ - name : Install ( testing)
3131 run : |
3232 python -m pip install --upgrade pip
3333 python -m pip install -e .[testing]
3434
35- - name : Run unit test suite
36- run : |
37- python -m pytest tests/unit -q
35+ - name : Pytest (unit) • ${{ matrix.os }} • py${{ matrix.python-version }}
36+ run : python -m pytest tests/unit -q
3837
3938 regression-quick :
40- name : Quick regression (py${{ matrix.python-version }} • ${{ matrix.os }} )
39+ name : Regression (quick )
4140 needs : unit
42- runs-on : ${{ matrix.os }}
41+ runs-on : ubuntu-24.04
4342 timeout-minutes : 35
44- strategy :
45- fail-fast : false
46- matrix :
47- os : [ubuntu-24.04, macos-14, windows-2025]
48- python-version : ["3.12", "3.13", "3.14"]
4943 steps :
50- - name : Checkout repo
44+ - name : Checkout
5145 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
5246
53- - name : Set up Python ${{ matrix.python-version }}
47+ - name : Set up Python 3.14
5448 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5549 with :
56- python-version : ${{ matrix.python-version }}
50+ python-version : " 3.14 "
5751 cache : pip
5852
59- - name : Cache regression test data downloads
53+ - name : Cache testdata
6054 uses : actions/cache@v4
6155 with :
6256 path : .testdata
63- key : codeentropy-testdata-v1-${{ runner.os }}-py${{ matrix.python-version }}
57+ key : codeentropy-testdata-v1-${{ runner.os }}-py3.14
6458
65- - name : Install CodeEntropy and its testing dependencies
59+ - name : Install ( testing)
6660 run : |
6761 python -m pip install --upgrade pip
6862 python -m pip install -e .[testing]
6963
70- - name : Run quick regression suite (slow excluded)
71- run : |
72- python -m pytest tests/regression -q
64+ - name : Pytest (regression quick)
65+ run : python -m pytest tests/regression -q
7366
74- - name : Upload regression artifacts on failure
67+ - name : Upload artifacts ( failure)
7568 if : failure()
7669 uses : actions/upload-artifact@v4
7770 with :
78- name : quick-regression-failure-${{ matrix.os }}-py${{ matrix.python-version }}
71+ name : quick-regression-failure
7972 path : |
8073 .testdata/**
8174 tests/regression/**/.pytest_cache/**
@@ -85,11 +78,11 @@ jobs:
8578 /tmp/pytest-of-*/pytest-*/**/codeentropy_output.json
8679
8780 docs :
88- name : Docs build (latest)
81+ name : Docs
8982 runs-on : ubuntu-24.04
9083 timeout-minutes : 25
9184 steps :
92- - name : Checkout repo
85+ - name : Checkout
9386 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
9487
9588 - name : Set up Python 3.14
9891 python-version : " 3.14"
9992 cache : pip
10093
101- - name : Install python dependencies
94+ - name : Install (docs)
10295 run : |
10396 python -m pip install --upgrade pip
10497 python -m pip install -e .[docs]
@@ -113,7 +106,7 @@ jobs:
113106 runs-on : ubuntu-24.04
114107 timeout-minutes : 15
115108 steps :
116- - name : Checkout repo
109+ - name : Checkout
117110 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
118111
119112 - name : Set up Python 3.14
@@ -122,7 +115,7 @@ jobs:
122115 python-version : " 3.14"
123116 cache : pip
124117
125- - name : Install python dependencies
118+ - name : Install (pre-commit)
126119 run : |
127120 python -m pip install --upgrade pip
128121 python -m pip install -e .[pre-commit]
0 commit comments