Skip to content

Commit 23066b1

Browse files
authored
Merge pull request #186 from bsipocz/ci_fix_and_update_versions
CI: Various minor improvements to fix CI includes contribution from @bnavigator in #183
2 parents ee98ce5 + b504469 commit 23066b1

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.6, 3.7, 3.8, 3.9]
13+
python-version: [3.7, 3.8, 3.9, '3.10']
1414

1515
steps:
1616
- name: Checkout
@@ -24,8 +24,9 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python3 -m pip install --upgrade pip doit
27-
python3 -m pip install .
2827
doit install_test_deps
28+
python3 -m pip install .
29+
python3 -m pip freeze # do make debugging easier for failures due to version changes
2930
3031
- name: Test with pytest
3132
run: |

dodo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ def task_test():
2727
}
2828

2929
def task_install_test_deps():
30-
test_deps = ['matplotlib', 'sympy', 'pytest-cov', 'pytest-mock', 'nbdime']
30+
# ipython_genutils is an indirect dependency of nbdime, but can be removed from this list
31+
# once https://github.com/jupyter/nbdime/pull/618 ends up in a release
32+
test_deps = ['matplotlib', 'sympy', 'pytest-cov', 'pytest-mock', 'nbdime', 'ipython_genutils']
3133
return {
3234
'actions': [_make_cmd(['pip', 'install'] + test_deps)],
3335
}

nbval/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (0, 9, 6)
1+
version_info = (0, 9, '7.dev')
22
__version__ = '.'.join(map(str, version_info[:3])) + ''.join(version_info[3:])

tests/sanitize_defaults.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ replace: TIMESTAMP
1313

1414
[Memory addresses]
1515
regex: (<[a-zA-Z_][0-9a-zA-Z_.]* at )(0x[0-9a-fA-F]+)(>)
16-
replace: \1MEMORY_ADDRESS\3
16+
replace: \1MEMORY_ADDRESS\3
17+
18+
[Matplotlib figure size]
19+
regex: (Figure size )\d+x\d+( with \d+ Axes)
20+
replace: \1WIDTHxHEIGHT\2

0 commit comments

Comments
 (0)