1- name : CodeEntropy Daily Checks
1+ name : Daily Unit Tests
22
33on :
44 schedule :
@@ -11,16 +11,16 @@ concurrency:
1111
1212jobs :
1313 unit :
14- name : Daily unit tests
14+ name : Unit (${{ matrix.os }}, ${{ matrix.python-version }})
1515 runs-on : ${{ matrix.os }}
16+ timeout-minutes : 30
1617 strategy :
1718 fail-fast : false
1819 matrix :
19- os : [ubuntu-24.04, windows-2025, macos-15 ]
20+ os : [ubuntu-24.04, macos-15, windows-2025 ]
2021 python-version : ["3.12", "3.13", "3.14"]
21- timeout-minutes : 30
2222 steps :
23- - name : Checkout repo
23+ - name : Checkout
2424 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2525
2626 - name : Set up Python ${{ matrix.python-version }}
@@ -29,38 +29,10 @@ jobs:
2929 python-version : ${{ matrix.python-version }}
3030 cache : pip
3131
32- - name : Install CodeEntropy and its testing dependencies
32+ - name : Install ( testing)
3333 run : |
34- pip install --upgrade pip
35- pip install -e .[testing]
36-
37- - name : Run unit test suite
38- run : pytest tests/unit -q
39-
40- coverage :
41- name : Coverage (ubuntu, latest python)
42- runs-on : ubuntu-24.04
43- timeout-minutes : 30
44- steps :
45- - name : Checkout repo
46- uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
34+ python -m pip install --upgrade pip
35+ python -m pip install -e .[testing]
4736
48- - name : Set up Python 3.14
49- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
50- with :
51- python-version : " 3.14"
52- cache : pip
53-
54- - name : Install CodeEntropy and its testing dependencies
55- run : |
56- pip install --upgrade pip
57- pip install -e .[testing]
58-
59- - name : Run unit test suite with coverage
60- run : pytest tests/unit --cov CodeEntropy --cov-report term-missing --cov-report xml -q
61-
62- - name : Coveralls GitHub Action
63- uses : coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
64- with :
65- github-token : ${{ secrets.GITHUB_TOKEN }}
66- file : coverage.xml
37+ - name : Pytest (unit) • ${{ matrix.os }} • py${{ matrix.python-version }}
38+ run : python -m pytest tests/unit -q
0 commit comments