Skip to content

Commit

Permalink
Adds Makefile to automate some common tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed May 21, 2020
1 parent d244ea1 commit bd25c18
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.PHONY: list-packages test-env test

CONDA_CHANNELS = -c conda-forge/label/vtk_dev -c cdat/label/vtk_dev -c cdat/label/nightly -c conda-forge

TEST_PACKAGES = vcs
TEST_DEPENDENCIES = udunits2 testsrunner matplotlib image-compare nbformat ipywidgets pytest $(EXTRA_TEST_DEPENDENCIES)

list-packages:
conda list | grep -E "^(vcs|vtk|mesalib)"

test-env:
conda create -n test_vcs $(CONDA_CHANNELS) $(TEST_DEPENDENCIES) $(TEST_PACKAGES)

test:
python run_tests.py -n 4 -H -v2 --timeout=100000 --checkout-baseline --no-vtk-ui

0 comments on commit bd25c18

Please sign in to comment.