change SDKROOT #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check Manifest" | |
on: | |
push: | |
branches: | |
- main | |
release: | |
types: [published] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' # do not upgrade to python 3.12, as 3.12 uses meson.build and cannot build sdist do to some bugs. (sdist needed for check-manifest) | |
# however, 3.11 can be used with setup.py (instead of meson.build), with the advantage of generating sdist | |
# internally through check-manifest using python setup.py sdist. | |
# Why 3.12 cannot use setup.py? Because setup.py uses ditutils, which is deprecated since 3.12. | |
- name: Install package | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install cython | |
python -m pip install --upgrade numpy | |
python -m pip install . -vvv | |
- name: Install test dependencies | |
run: | | |
python -m pip install flake8 | |
python -m pip install check-manifest | |
- name: Check flake | |
run: flake8 | |
- name: Check manifest | |
run: check-manifest -v |