Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do we disable dh_auto_test from stdeb.cfg so that tests dont run on Debian build servers? #178

Open
pirate opened this issue Feb 8, 2021 · 2 comments

Comments

@pirate
Copy link

pirate commented Feb 8, 2021

I don't see a way to set debian build environment variables (e.g. DEB_BUILD_OPTIONS) in stdeb.cfg, how can we disable dh_auto_test during the Debian build so that PPA/Debian build servers don't try to run our package tests automatically?

Example failing build due to tests being run unnecessarily:

Related issues:

Is there any way we can support the development of this project with $? E.g. Github Sponsors, Patreon, PayPal, etc. It's saved me many hours in the long run, and I'd like to send a slice of our project's donations back to stdeb.

@pirate
Copy link
Author

pirate commented Feb 9, 2021

Trying this, not yet sure if it's working as the debian build servers are slow:

[DEFAULT]
...
Setup-Env-Vars: DEB_BUILD_OPTIONS=nocheck

@eMPee584
Copy link

For anyone trying to skip tests when running from CLI:
DEB_BUILD_OPTIONS=nocheck python3 setup.py --command-packages=stdeb.command bdist_deb 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants