Defer initialisation of global variables until the module is actually… #91
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: no-setuptools | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.12] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install scipy-openblas64 | |
- name: Setup | |
run: | | |
python -m pip install . | |
python -m pip uninstall -y setuptools # the goal of that check is to test codegen without setuptools | |
- name: Testing scipy | |
run: | | |
find pythran/tests/scipy/ -name '*.py' -exec pythran -E {} \; |