Skip to content

Commit c5f831c

Browse files
committed
Move ECH tests to autopkgtests
1 parent 2f2fdeb commit c5f831c

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/packages.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,6 @@ jobs:
6767
apt-ftparchive packages . > Packages
6868
apt-ftparchive release . > Release
6969
70-
- name: Test packages
71-
run: |
72-
mmdebstrap --verbose --chrooted-customize-hook="curl -L 'https://github.com/defo-project/ech-dev-utils/archive/refs/heads/main.tar.gz' | tar xz; cd ech-dev-utils-main; PACKAGING=1 scripts/testhaproxy.sh" \
73-
--variant=essential --include=ca-certificates,haproxy,lighttpd-mod-openssl,curl testing /dev/null \
74-
"deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian testing main" \
75-
"deb [trusted=yes] https://github.com/defo-project/openssl/raw/packages/ /" \
76-
"deb [trusted=yes] https://github.com/defo-project/lighttpd1.4/raw/packages/ /" \
77-
"deb [trusted=yes] copy:/$HOME/apt_repo /"
78-
7970
- name: Upload apt repository
8071
run: |
8172
cd "$HOME/apt_repo"

debian/tests/control

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Test-Command: curl -L 'https://github.com/defo-project/ech-dev-utils/archive/refs/heads/main.tar.gz' | tar xz; cd ech-dev-utils-main; PACKAGING=1 scripts/testhaproxy.sh
2+
Restrictions: needs-internet, needs-root, allow-stderr
3+
Depends: ca-certificates, haproxy, lighttpd-mod-openssl, curl

0 commit comments

Comments
 (0)