-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
25 lines (21 loc) · 861 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
# © Copyright 2021-2022 Zapata Computing Inc.
################################################################################
include subtrees/z_quantum_actions/Makefile
github_actions:
python3 -m venv ${VENV_NAME} && \
${VENV_NAME}/bin/python3 -m pip install --upgrade pip && \
${VENV_NAME}/bin/python3 -m pip install ./orquestra-quantum && \
PYTHON="$({VENV_NAME}/bin/python3 -V )" && \
${VENV_NAME}/bin/python3 -m pip install -e '.[dev]'
build-system-deps:
$(PYTHON) -m pip install setuptools wheel "setuptools_scm>=6.0"
test:
$(PYTHON) -m pytest -W error tests
coverage:
$(PYTHON) -m pytest -W error\
--cov=src \
--cov-fail-under=$(MIN_COVERAGE) tests \
--no-cov-on-fail \
--cov-report xml \
&& echo Code coverage Passed the $(MIN_COVERAGE)% mark!