Defer initialisation of global variables until the module is actually… #1225
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: ms | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
architectures: [x86, x64] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
architecture: ${{ matrix.architecture }} | |
- name: Install clang-cl | |
run: | | |
choco install llvm --yes | |
@("C:/Program Files/LLVM/bin") + (Get-Content $env:GITHUB_PATH) | Set-Content $env:GITHUB_PATH | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install scipy | |
pip install pythran-openblas pytest | |
- name: Setup | |
run: | | |
python -m pip install . | |
python -m pip install . 'pythran[test]' | |
- name: Testing minimal CLI | |
run: | | |
pythran --version | |
pythran --help | |
pythran-config -vvv | |
- name: Testing sequential | |
run: | | |
pytest pythran/tests/test_ndarray.py -v -x | |
pytest pythran/tests/test_scipy.py -v -x | |
pytest pythran/tests/test_base.py -v -x | |
pytest pythran/tests/test_advanced.py -v -x |