Skip to content

Commit dcc3a26

Browse files
committed
[MAINT] update makefile
1 parent 1c38cd5 commit dcc3a26

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎Makefile‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# simple makefile to simplify repetetive build env management tasks under posix
22
# caution: testing won't work on windows, see README
33
PYTHON ?= python
4-
PYTESTS ?= py.test
4+
PYTESTS ?= pytest
55
CTAGS ?= ctags
66
CODESPELL_SKIPS ?= "*.html,*.fif,*.eve,*.gz,*.tgz,*.zip,*.mat,*.stc,*.label,*.w,*.bz2,*.annot,*.sulc,*.log,*.local-copy,*.orig_avg,*.inflated_avg,*.gii,*.pyc,*.doctree,*.pickle,*.inv,*.png,*.edf,*.touch,*.thickness,*.nofix,*.volume,*.defect_borders,*.mgh,lh.*,rh.*,COR-*,FreeSurferColorLUT.txt,*.examples,.xdebug_mris_calc,bad.segments,BadChannels,*.hist,empty_file,*.orig,*.js,*.map,*.ipynb,searchindex.dat"
77
CODESPELL_DIRS ?= meegkit/ examples/
@@ -85,21 +85,21 @@ install-dev:
8585

8686
# Tests
8787
# =============================================================================
88-
test: in
88+
test:
8989
rm -f .coverage
90-
$(PYTESTS) -m 'not ultraslowtest' meegkit
90+
$(PYTESTS) -m 'not ultraslowtest'
9191

92-
test-verbose: in
92+
test-verbose:
9393
rm -f .coverage
94-
$(PYTESTS) -m 'not ultraslowtest' meegkit --verbose
94+
$(PYTESTS) -m 'not ultraslowtest' --verbose
9595

96-
test-fast: in
96+
test-fast:
9797
rm -f .coverage
98-
$(PYTESTS) -m 'not slowtest' meegkit
98+
$(PYTESTS) -m 'not slowtest'
9999

100-
test-full: in
100+
test-full:
101101
rm -f .coverage
102-
$(PYTESTS) meegkit
102+
$(PYTESTS)
103103

104104
.PHONY: init test
105105

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ filterwarnings = [
9898
addopts = """
9999
--color=yes
100100
--durations 10
101+
--noplots
101102
"""
102103

103104
[tool.coverage.run]

0 commit comments

Comments
 (0)