MAINT: fix small typo in small_dynamic_array.h
#64
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
name: Build | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
- master | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Wheels | |
path: ./wheelhouse/*.whl | |
doc_lint_cov: | |
name: Documentation, Linting and Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
# Update according to NEP-29 | |
python-version: '3.8' | |
cache: 'pip' | |
- name: Install package | |
run: | | |
pip install -ve .[all] | |
- name: Build documentation | |
run: | | |
sphinx-build -W -b html docs/ _build/html | |
- name: Lint documentation | |
run: | | |
doc8 | |
- name: Upload documentation | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Documentation | |
path: _build/html | |
- name: Code style and tests | |
run: | | |
pytest --pyargs uarray | |
- name: mypy | |
run: | | |
mypy uarray | |
- name: Run clang-format style check for C/C++ code. | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '13' | |
check-path: 'uarray' | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
directory: 'coverage/coverage*.xml' | |
env_vars: OS,PYTHON | |
fail_ci_if_error: false | |
verbose: true | |
pypy3: | |
name: Tests for PyPy3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 'pypy-3.8' | |
cache: 'pip' | |
- name: Install package | |
run: | | |
pip install -ve .[tests] | |
- name: Run tests | |
run: | | |
pytest --pyargs uarray | |
scipy_fft: | |
name: Run SciPy FFT tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v2 | |
with: | |
# Update according to NEP-29 | |
python-version: '3.8' | |
cache: 'pip' | |
- name: Install package | |
run: | | |
pip install -ve .[tests] | |
pip install scipy==1.7.2 | |
- name: SciPy tests | |
run: | | |
import scipy.fft | |
assert scipy.fft.test() | |
shell: python |