1717 matrix :
1818 os : [ubuntu-24.04, macos-15, windows-2025]
1919 python-version : ["3.12", "3.13", "3.14"]
20+
2021 steps :
2122 - name : Checkout
2223 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
@@ -36,16 +37,17 @@ jobs:
3637 run : python -m pytest tests/unit
3738
3839 regression-quick :
39- name : Regression (quick )
40+ name : Regression (fast )
4041 needs : unit
4142 runs-on : ubuntu-24.04
4243 timeout-minutes : 35
44+
4345 steps :
4446 - name : Checkout
45- uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
47+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
4648
4749 - name : Set up Python 3.14
48- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
50+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
4951 with :
5052 python-version : " 3.14"
5153 cache : pip
@@ -54,20 +56,21 @@ jobs:
5456 uses : actions/cache@v4
5557 with :
5658 path : .testdata
57- key : codeentropy-testdata-v1- ${{ runner.os }}-py3.14
59+ key : codeentropy-testdata-${{ runner.os }}-py314
5860
59- - name : Install ( testing)
61+ - name : Install testing dependencies
6062 run : |
6163 python -m pip install --upgrade pip
6264 python -m pip install -e .[testing]
6365
64- - name : Pytest ( regression quick )
66+ - name : Run fast regression tests (parallel )
6567 run : |
6668 python -m pytest tests/regression \
6769 -m "not slow" \
6870 -n auto \
71+ --dist=loadscope \
6972 -vv \
70- --durations=0
73+ --durations=20
7174
7275 - name : Upload artifacts (failure)
7376 if : failure()
7679 name : quick-regression-failure
7780 path : |
7881 .testdata/**
79- tests/regression/**/.pytest_cache/**
80- /tmp/pytest-of-*/pytest-*/**/config.yaml
81- /tmp/pytest-of-*/pytest-*/**/codeentropy_stdout.txt
82- /tmp/pytest-of-*/pytest-*/**/codeentropy_stderr.txt
83- /tmp/pytest-of-*/pytest-*/**/codeentropy_output.json
82+ /tmp/pytest-of-*/pytest-*/**
8483
8584 docs :
8685 name : Docs
9897 python-version : " 3.14"
9998 cache : pip
10099
101- - name : Install
100+ - name : Install docs dependencies
102101 run : |
103102 python -m pip install --upgrade pip
104103 python -m pip install -e .[docs]
@@ -119,6 +118,7 @@ jobs:
119118 name : Pre-commit
120119 runs-on : ubuntu-24.04
121120 timeout-minutes : 15
121+
122122 steps :
123123 - name : Checkout
124124 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
@@ -129,13 +129,12 @@ jobs:
129129 python-version : " 3.14"
130130 cache : pip
131131
132- - name : Install ( pre-commit)
132+ - name : Install pre-commit dependencies
133133 run : |
134134 python -m pip install --upgrade pip
135135 python -m pip install -e .[pre-commit]
136136
137137 - name : Run pre-commit
138- shell : bash
139138 run : |
140139 pre-commit install
141140 pre-commit run --all-files || {
@@ -149,8 +148,9 @@ jobs:
149148 needs : unit
150149 runs-on : ubuntu-24.04
151150 timeout-minutes : 30
151+
152152 steps :
153- - name : Checkout repo
153+ - name : Checkout
154154 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
155155
156156 - name : Set up Python 3.14
@@ -159,20 +159,20 @@ jobs:
159159 python-version : " 3.14"
160160 cache : pip
161161
162- - name : Install ( testing)
162+ - name : Install testing dependencies
163163 run : |
164164 python -m pip install --upgrade pip
165165 python -m pip install -e .[testing]
166166
167- - name : Run unit test suite with coverage
167+ - name : Run coverage
168168 run : |
169169 pytest tests/unit \
170170 --cov CodeEntropy \
171171 --cov-report term-missing \
172172 --cov-report xml \
173173 -q
174174
175- - name : Upload to Coveralls
175+ - name : Upload coverage to Coveralls
176176 uses : coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e
177177 with :
178178 github-token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments