@@ -35,31 +35,40 @@ jobs:
3535 runs-on : ubuntu-latest
3636 steps :
3737 - uses : actions/checkout@v5
38- - name : Setup Python environment
38+
39+ - name : Set up Python
3940 uses : actions/setup-python@v6
4041 with :
41- python-version : ' 3.9'
42- - name : Install Requirements
42+ python-version : " 3.9"
43+ cache : " pip"
44+
45+ - name : Install build and doc tooling
4346 run : |
44- python -m pip install --upgrade pip
45- pip install twine sphinx
46- pip install -r requirements.txt
47- pip install -r test/requirements.txt
48- python setup.py install
49- - name : Test Doc Generation
47+ python -m pip install -U pip
48+ python -m pip install build twine sphinx
49+ python -m pip install -r requirements.txt
50+ python -m pip install -r test/requirements.txt
51+
52+ - name : Build sdist and wheel (PEP 517)
53+ run : python -m build
54+
55+ - name : Validate distribution metadata
56+ run : twine check dist/*
57+
58+ - name : Install package from wheel
5059 run : |
51- sphinx-build -b html docs build/html
52- - name : Test Dist Generation
60+ python -m pip install dist/*.whl
61+
62+ - name : Test documentation generation
5363 run : |
54- python setup.py sdist bdist_wheel
55- twine check dist/*
64+ sphinx-build -b html docs build/html
5665 Integration :
5766 continue-on-error : true
5867 runs-on : ${{ matrix.os }}
5968 strategy :
6069 matrix :
6170 os : [macos-15-intel, macos-latest, windows-latest, ubuntu-latest]
62- python-version : [3.9, "3.10", 3.11, 3.12 ]
71+ python-version : [3.9, "3.10", 3.11]
6372 steps :
6473 - uses : actions/checkout@v5
6574 - name : Setup Python environment
0 commit comments