File: rules

package info (click to toggle)
qiskit-ibmq-provider 0.4.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 828 kB
  • sloc: python: 6,564; makefile: 8
file content (18 lines) | stat: -rwxr-xr-x 613 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export PYBUILD_NAME=qiskit-ibmq-provider
export PYBUILD_PYTEST=1

# Skip some tests:
# * test_proxies.py: requires a proxy package not available in debian
# * TestIBMQFactoryEnableAccount: 4 methods require internet connection,
#   and the rest are skipped via the upstream environment variable.
export PYBUILD_TEST_ARGS={build_dir}/test/ibmq -k \
	"not TestIBMQFactoryEnableAccount" \
    --ignore=test/ibmq/test_proxies.py

# Disable tests that require internet connection using upstream
# environment variable.
export QISKIT_TESTS=skip_online

%:
	dh $@ --with python3 --buildsystem=pybuild