Skip to content

Commit 4bb53c0

Browse files
add new tests complex-range
1 parent 554fb21 commit 4bb53c0

5 files changed

Lines changed: 123 additions & 118 deletions

File tree

.github/workflows/complex-range.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ on:
1111
paths:
1212
- 'packages/complex-range/**'
1313
- '.github/workflows/complex-range.yml'
14-
workflow_dispatch: # Allows manual trigger
14+
workflow_dispatch:
15+
16+
defaults:
17+
run:
18+
working-directory: packages/complex-range
1519

1620
jobs:
1721
test:
@@ -20,27 +24,20 @@ jobs:
2024
fail-fast: false
2125
matrix:
2226
os: [ubuntu-latest, macos-latest, windows-latest]
23-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
24-
25-
defaults:
26-
run:
27-
working-directory: packages/complex-range
27+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2828

2929
steps:
30-
- uses: actions/checkout@v4
31-
32-
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: ${{ matrix.python-version }}
30+
- uses: actions/checkout@v4
3631

37-
- name: Install dependencies
38-
run: |
39-
python -m pip install --upgrade pip
40-
pip install pytest pytest-cov
32+
- name: Set up Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: ${{ matrix.python-version }}
4136

42-
- name: Install package
43-
run: pip install -e .
37+
- name: Install dependencies
38+
run: |
39+
python -m pip install --upgrade pip
40+
pip install -e ".[dev]"
4441
45-
- name: Run tests
46-
run: pytest --cov=complex_range --cov-report=term-missing
42+
- name: Run tests
43+
run: pytest --cov=complex_range --cov-report=term-missing -v

packages/algebraic-range/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Generate ranges of algebraic numbers.
1010

11-
Python port of the **Wolfram** [resource function "AlgebraicRange"](https://resources.wolframcloud.com/FunctionRepository/resources/AlgebraicRange/) resource function.
11+
Python port of the **Wolfram** [resource function "AlgebraicRange"](https://resources.wolframcloud.com/FunctionRepository/resources/AlgebraicRange/).
1212

1313
Requires [SymPy](https://www.sympy.org/) ≥ 1.12.
1414

packages/complex-range/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Generate ranges of complex numbers - rectangular grids and linear sequences in the complex plane.
1010

11-
Python translation of the **Mathematica** [resource function "ComplexRange"](https://resources.wolframcloud.com/FunctionRepository/resources/ComplexRange/).
11+
Python port of the **Wolfram** [resource function "ComplexRange"](https://resources.wolframcloud.com/FunctionRepository/resources/ComplexRange/).
1212

1313

1414
## Installation

packages/complex-range/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "complex-range"
7-
version = "1.0.0.post2"
8-
description = "Generate ranges of complex numbers - rectangular grids and linear sequences in the complex plane"
7+
version = "1.0.1"
8+
description = "Generate ranges of complex numbers"
99
readme = "README.md"
1010
license = {text = "MIT"}
1111
authors = [

0 commit comments

Comments
 (0)