-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update makefile, test script and workflows
- Loading branch information
1 parent
8fdf9b5
commit 51b2500
Showing
4 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
.SILENT: clean | ||
.PHONY: clean | ||
.SILENT: clean nbtest test | ||
.PHONY: clean nbtest test | ||
|
||
clean: | ||
echo "Cleaning up the repo..." | ||
python bin/clean | ||
|
||
nbtest: | ||
echo "Running example notebooks..." | ||
pytest examples --nbval-lax \ | ||
--ignore="examples/paper_recreations/Blunt et al. (2013)" \ | ||
--ignore="examples/paper_recreations/Wu et al. (2010)" | ||
|
||
test: | ||
echo "Running unit tests..." | ||
pytest --ignore=scripts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters