Commit 2718589b authored by Wei Shoulin's avatar Wei Shoulin
Browse files

general

parent d90ce8b5
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ uninstall:
	pip uninstall csst_dfs_client -y

test:
	UNIT_TEST_DATA_ROOT=/opt/temp/csst CSST_DFS_GATEWAY=http://172.31.249.145:8000 CSST_DFS_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ4ODU0NTA2NjQsInN1YiI6InN5c3RlbSJ9.POsuUABytu8-WMtZiYehiYEa5BnlgqNTXT6X3OTyix0 coverage run -m pytest -vs --import-mode=importlib --cov-report=html --cov-report=term-missing --cov-config=.coveragerc
	UNIT_TEST_DATA_ROOT=/opt/temp/csst CSST_DFS_GATEWAY=testdfs.int.cnlab.net:8000 CSST_DFS_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ4ODU0NTA2NjQsInN1YiI6InN5c3RlbSJ9.POsuUABytu8-WMtZiYehiYEa5BnlgqNTXT6X3OTyix0 coverage run -m pytest -vs --import-mode=importlib --cov-report=html --cov-report=term-missing --cov-config=.coveragerc
	coverage report -m
	rm -rf .coverage .pytest_cache
	
@@ -21,7 +21,7 @@ build:
	python setup.py bdist_wheel --plat-name=manylinux1_x86_64

publish:
	twine upload --repository-url http://mirror.int.cnlab.net/repository/pypi/ -u admin -p gsdjsj.2024 dist/csst_dfs_client-*.whl
	twine upload --repository-url http://mirror.int.cnlab.net/repository/pypi/ dist/csst_dfs_client-*.whl

version:
	bumpver update --patch