Skip to content

Merge pull request #810 from bashtage/fix-cov-report #71

Merge pull request #810 from bashtage/fix-cov-report

Merge pull request #810 from bashtage/fix-cov-report #71

Workflow file for this run

name: Build wheels
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '37 0 * * 2' # 2/weekly
jobs:
build_wheels:
name: ${{ matrix.os }}, Python ${{ matrix.python }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
python: [cp314]
os: [ubuntu-latest, windows-latest]
env:
BUILD_COMMIT: "main"
MKL_NUM_THREADS: 1
OMP_NUM_THREADS: 1
OPENLAS_NUM_THREADS: 1
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: '3.x'
- uses: pypa/[email protected]
env:
CIBW_BUILD: ${{ matrix.python }}-*
CIBW_BEFORE_BUILD: python -m pip install pip --upgrade
CIBW_TEST_COMMAND: python -c "import arch; arch.test(['--skip-slow','-n','auto'])"
CIBW_TEST_REQUIRES: pytest pytest-xdist pytest-cov matplotlib numpy scipy pandas seaborn
CIBW_SKIP: "*-musllinux_* *-win32"
CIBW_ARCHS_LINUX: "x86_64"
CIBW_BUILD_VERBOSITY: 2
with:
output-dir: wheelhouse