Skip to content
Snippets Groups Projects
Select Git revision
  • 8422a7b632dca1d237caa43741bf97efc80644e5
  • master default protected
  • reorganise-tests
  • add-header_uuid-sample
  • km3net_astro
  • 7-new-gseagen-files
  • v0.4.27
  • v0.4.26
  • v0.4.25
  • v0.4.24
  • v0.4.21
  • v0.4.20
  • v0.4.19
  • v0.4.18
  • v0.4.17
  • v0.4.16
  • v0.4.15
  • v0.4.14
  • v0.4.13
  • v0.4.12
  • v0.4.11
  • v0.4.10
  • v0.4.9
  • v0.4.8
  • v0.4.7
  • v0.4.6
26 results

Makefile

Blame
  • Tamas Gal's avatar
    Tamas Gal authored
    8422a7b6
    History
    Makefile 780 B
    PKGNAME=km3net_testdata
    
    default: build
    
    all: install
    
    install: 
    	pip install .
    
    install-dev: dependencies-dev
    	pip install -e .
    
    venv:
    	python3 -m venv venv
    
    clean:
    	python3 setup.py clean --all
    	rm -rf venv
    
    test: 
    	py.test --junitxml=./reports/junit.xml -o junit_suite_name=$(PKGNAME) tests
    
    test-cov:
    	py.test --cov ./$(PKGNAME) --cov-report term-missing --cov-report xml:reports/coverage.xml --cov-report html:reports/coverage tests
    
    test-loop: 
    	py.test tests
    	ptw --ext=.py,.pyx --ignore=doc tests
    
    dependencies:
    	pip install -Ur requirements.txt
    
    dependencies-dev:
    	pip install -Ur requirements-dev.txt
    
    yapf:
    	yapf -i -r $(PKGNAME)
    	yapf -i -r tests
    	yapf -i setup.py
    
    .PHONY: all clean install install-dev venv test test-cov test-loop dependencies dependencies-dev yapf