forked from dask-contrib/dask-awkward
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1 KB
/
pypi-tests.yml
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
name: PyPI Tests
on:
push:
branches: ['main']
paths-ignore: ['**.md', 'docs/**']
pull_request:
paths-ignore: ['**.md', 'docs/**']
workflow_dispatch:
concurrency:
group: 'pypi-tests-${{ github.head_ref || github.run_id }}'
cancel-in-progress: true
jobs:
pytest:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{matrix.platform}}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: setup Python ${{matrix.python-version}}
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: install
run: |
pip install pip wheel -U
pip install dask[array,dataframe,distributed,diagnostics]
pip install -q --no-cache-dir .[complete,test]
pip list
- name: test
run: |
python -m pytest