Skip to content

Commit 56a16b0

Browse files
committed
Merge branch 'ported-wip' of https://github.com/IDEMSInternational/population-modeling-py into ported-wip
2 parents 471cecc + c277893 commit 56a16b0

File tree

3 files changed

+28
-14
lines changed

3 files changed

+28
-14
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,29 @@ on:
88
- main
99

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
11+
test:
12+
name: test with ${{ matrix.py }} on ${{ matrix.os }}
13+
runs-on: ${{ matrix.os }}
1314
strategy:
14-
matrix:
15-
python: [3.9]
15+
fail-fast: false
16+
matrix:
17+
py:
18+
- "3.10"
19+
os:
20+
- ubuntu-latest
21+
- macos-latest
22+
- windows-latest
1623
steps:
1724
- uses: actions/checkout@v4
18-
- name: Setup Python
25+
with:
26+
fetch-depth: 0
27+
- name: Setup python for test ${{ matrix.py }}
1928
uses: actions/setup-python@v4
2029
with:
21-
python-version: ${{ matrix.python }}
22-
- name: Install Tox
23-
run: pip install tox
24-
- name: Run Tox
25-
# Run tox using the version of Python in `PATH`
26-
run: tox -e py
30+
python-version: ${{ matrix.py }}
31+
- name: Install tox
32+
run: python -m pip install tox-gh>=1.2
33+
- name: Setup test suite
34+
run: tox -vv --notest
35+
- name: Run test suite
36+
run: tox --skip-pkg-install

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"sympy>=1.9",
1818
"scipy>=1.11",
1919
]
20-
requires-python = ">=3.9"
20+
requires-python = ">=3.10"
2121
#keywords = ["one", "two"]
2222
#license = {text = "BSD-3-Clause"}
2323
classifiers = [

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[tox]
2-
envlist = py{39}
2+
envlist = py{310}
33
minversion = 4.0
44
isolated_build = true
55

66
[testenv]
77
deps =
88
pytest
99
-r requirements.txt
10-
commands = pytest tests
10+
commands = pytest tests
11+
12+
[gh]
13+
python =
14+
3.10 = py310

0 commit comments

Comments
 (0)