Bring project up to date #149
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |