Skip to content

Commit

Permalink
debian: use pytest during debuild
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Benedikt Spranger <[email protected]>
  • Loading branch information
t-8ch committed Mar 12, 2024
1 parent 1eddd13 commit 53819bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Build-Depends: debhelper-compat (= 12),
python3-apt,
python3-gpg,
python3-libvirt,
python3-passlib
python3-passlib,
python3-pytest
Standards-Version: 3.9.6
Rules-Requires-Root: no
Homepage: http://elbe-rfs.org
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif

override_dh_auto_test:
SQLALCHEMY_SILENCE_UBER_WARNING=1 ./elbe test
SQLALCHEMY_SILENCE_UBER_WARNING=1 pytest --junit-xml=junit.xml

override_dh_auto_configure:
cd docs && $(MAKE) $(MAKE_OPTS)
Expand Down

0 comments on commit 53819bd

Please sign in to comment.