| 1 |
name: CI |
| 2 |
|
| 3 |
on: [push, pull_request] |
| 4 |
|
| 5 |
jobs: |
| 6 |
build: |
| 7 |
runs-on: ${{ matrix.os }} |
| 8 |
strategy: |
| 9 |
matrix: |
| 10 |
os: [ubuntu-latest, windows-latest] |
| 11 |
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3' ] |
| 12 |
name: Python ${{ matrix.python-version }} |
| 13 |
steps: |
| 14 |
- uses: actions/checkout@v1 |
| 15 |
- name: Setup python |
| 16 |
uses: actions/setup-python@v1 |
| 17 |
with: |
| 18 |
python-version: ${{ matrix.python-version }} |
| 19 |
architecture: x64 |
| 20 |
- name: Install dependencies |
| 21 |
run: | |
| 22 |
python -m pip install --upgrade pip |
| 23 |
pip install pytest pytest-benchmark enum34 numpy arrow ruamel.yaml cloudpickle lz4 |
| 24 |
- name: Run tests |
| 25 |
run: | |
| 26 |
py.test tests/ --benchmark-disable --showlocals --verbose |