Skip to content

Commit 86b8bf4

Browse files
authored
Run CI against multiple Python versions (#74)
1 parent 9e3a3c4 commit 86b8bf4

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ defaults:
1818
jobs:
1919
test:
2020
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
python-version: ["3.9", "3.10", "3.11"]
25+
2126
steps:
2227
- uses: actions/checkout@v2
2328

@@ -26,6 +31,8 @@ jobs:
2631
with:
2732
environment-file: ci/environment.yml
2833
environment-name: dask-match
34+
extra-specs: |
35+
python=${{ matrix.python-version }}
2936
3037
- name: Install Dask-Match
3138
run: python -m pip install -e . --no-deps

dask_expr/collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import functools
24

35
import numpy as np

dask_expr/expr.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import functools
24
import numbers
35
import operator
@@ -415,7 +417,7 @@ def __dask_graph__(self):
415417
def __dask_keys__(self):
416418
return [(self._name, i) for i in range(self.npartitions)]
417419

418-
def substitute(self, substitutions: dict) -> "Expr":
420+
def substitute(self, substitutions: dict) -> Expr:
419421
"""Substitute specific `Expr` instances within `self`
420422
421423
Parameters

0 commit comments

Comments
 (0)