-
Notifications
You must be signed in to change notification settings - Fork 13
36 lines (29 loc) · 935 Bytes
/
ci.yaml
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
name: Tests
on: [pull_request, push, workflow_dispatch]
jobs:
test:
runs-on: ${{ matrix.os }}
env:
PYTHONIOENCODING: utf-8
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install
run: |
pip install -e .
pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main
pip install -r requirements-test.txt
- name: Run tests
run: pytest --cov=./ --reruns 5 --reruns-delay 1
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1