Skip to content

WIP CI

WIP CI #81

Workflow file for this run

name: tests
on:
push:
branches:
- main
- feature-dask
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: pysetup
uses: actions/setup-python@v2
with:
##python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: "3.10"
- name: install
run: |
pip install -e ".[test,dask]"
- name: run tests
run: |
# CI runners have no configured git. Need that for git support tests.
git config --global user.name "Gaylord Focker"
git config --global user.email "[email protected]"
# Run parallel tests (-n flag). Detect all $(pwd)/tests/test_*.py
pytest -n4