Set PYTHON_INCLUDE_DIR
in setup.py
and pass it to CMake
#378
Workflow file for this run
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
on: | |
push: | |
branches: | |
# Only check pushes to master | |
- master | |
paths: | |
# Only check formatting when python files are changed. | |
- '**/*.py' | |
pull_request: | |
# Check PRs for all branches | |
paths: | |
# Only check formatting when python files are changed. | |
- '**/*.py' | |
jobs: | |
format: | |
name: Format check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.7' | |
architecture: 'x64' | |
- name: Install dev requirements | |
run: pip install -r dev-requirements.txt | |
- name: Format | |
run: check/format-incremental |