File tree 4 files changed +13
-6
lines changed
4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-22 .04
14
+ runs-on : ubuntu-24 .04
15
15
strategy :
16
16
matrix :
17
17
os :
53
53
[ -z "${ninja}" ] && export ninja=$(command -v ninja-build)
54
54
gcovr -r .. -f ../src -f src/ -e ../tests -e tests -x coverage.xml
55
55
56
- - uses : codecov/codecov-action@v3
56
+ - uses : codecov/codecov-action@v5
57
57
with :
58
58
file : build/coverage.xml
59
59
fail_ci_if_error : true # optional (default = false)
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ debian:*|ubuntu:*)
6
6
apt clean
7
7
apt update
8
8
apt -y install gcc meson pkg-config libjose-dev jose libhttp-parser-dev \
9
- systemd gcovr curl socat iproute2 asciidoc
9
+ systemd gcovr curl socat iproute2 asciidoc git
10
10
;;
11
11
12
12
* fedora:* )
13
13
echo ' max_parallel_downloads=10' >> /etc/dnf/dnf.conf
14
14
dnf -y clean all
15
15
dnf -y --setopt=deltarpm=0 update
16
16
dnf -y install gcc meson pkgconfig libjose-devel jose llhttp-devel \
17
- systemd gcovr curl socat iproute asciidoc
17
+ systemd gcovr curl socat iproute asciidoc git
18
18
;;
19
19
20
20
centos:7)
@@ -23,7 +23,7 @@ centos:7)
23
23
yum install -y yum-utils epel-release
24
24
yum config-manager -y --set-enabled PowerTools \
25
25
|| yum config-manager -y --set-enabled powertools || :
26
- yum -y install meson socat iproute asciidoc
26
+ yum -y install meson socat iproute asciidoc git
27
27
yum-builddep -y tang
28
28
;;
29
29
@@ -33,7 +33,7 @@ centos:7)
33
33
dnf install -y dnf-plugins-core epel-release
34
34
dnf config-manager -y --set-enabled powertools \
35
35
|| dnf config-manager -y --set-enabled crb || :
36
- dnf -y install meson socat iproute
36
+ dnf -y install meson socat iproute git
37
37
dnf builddep -y tang --allowerasing --skip-broken --nobest
38
38
;;
39
39
esac
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ start_standalone_server() {
75
75
${VALGRIND} tangd -p ${1} -l ${TMP} /db &
76
76
}
77
77
78
+ start_standalone_server_fg () {
79
+ ${VALGRIND} tangd -p ${1} -l ${TMP} /db
80
+ }
81
+
78
82
start_standalone_server_endpoint () {
79
83
${VALGRIND} tangd -p ${1} -l ${TMP} /db -e ${2} &
80
84
}
Original file line number Diff line number Diff line change @@ -31,3 +31,6 @@ export PID=$!
31
31
wait_for_port ${PORT}
32
32
33
33
rec_second_phase
34
+
35
+ # Start the server in a wrong port
36
+ start_standalone_server_fg " -1" && false || true
You can’t perform that action at this time.
0 commit comments