-
Notifications
You must be signed in to change notification settings - Fork 189
46 lines (41 loc) · 1.2 KB
/
cron-test.yml
File metadata and controls
46 lines (41 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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"
CIBW_ARCHS_LINUX: "x86_64"
MKL_NUM_THREADS: 1
OMP_NUM_THREADS: 1
OPENLAS_NUM_THREADS: 1
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: '3.x'
- uses: pypa/cibuildwheel@v3.4.1
env:
CIBW_BUILD: ${{ matrix.python }}-*
CIBW_BEFORE_BUILD: python -m pip install wheel>=0.41.0 pip --upgrade
CIBW_TEST_COMMAND: python -c "import linearmodels; linearmodels.test(['--skip-examples','--skip-slow','-n','2'])"
CIBW_TEST_REQUIRES: pytest pytest-xdist pytest-cov matplotlib numpy scipy xarray pandas seaborn
CIBW_SKIP: "pp* *-musllinux_* *-win32"