File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed
Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- runs-on : ubuntu-22 .04
14+ runs-on : ubuntu-24 .04
1515 strategy :
1616 matrix :
1717 os :
5353 [ -z "${ninja}" ] && export ninja=$(command -v ninja-build)
5454 gcovr -r .. -f ../src -f src/ -e ../tests -e tests -x coverage.xml
5555
56- - uses : codecov/codecov-action@v3
56+ - uses : codecov/codecov-action@v5
5757 with :
5858 file : build/coverage.xml
5959 fail_ci_if_error : true # optional (default = false)
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ debian:*|ubuntu:*)
66 apt clean
77 apt update
88 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
1010 ;;
1111
1212* fedora:* )
1313 echo ' max_parallel_downloads=10' >> /etc/dnf/dnf.conf
1414 dnf -y clean all
1515 dnf -y --setopt=deltarpm=0 update
1616 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
1818 ;;
1919
2020centos:7)
@@ -23,7 +23,7 @@ centos:7)
2323 yum install -y yum-utils epel-release
2424 yum config-manager -y --set-enabled PowerTools \
2525 || yum config-manager -y --set-enabled powertools || :
26- yum -y install meson socat iproute asciidoc
26+ yum -y install meson socat iproute asciidoc git
2727 yum-builddep -y tang
2828 ;;
2929
@@ -33,7 +33,7 @@ centos:7)
3333 dnf install -y dnf-plugins-core epel-release
3434 dnf config-manager -y --set-enabled powertools \
3535 || dnf config-manager -y --set-enabled crb || :
36- dnf -y install meson socat iproute
36+ dnf -y install meson socat iproute git
3737 dnf builddep -y tang --allowerasing --skip-broken --nobest
3838 ;;
3939esac
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ start_standalone_server() {
7575 ${VALGRIND} tangd -p ${1} -l ${TMP} /db &
7676}
7777
78+ start_standalone_server_fg () {
79+ ${VALGRIND} tangd -p ${1} -l ${TMP} /db
80+ }
81+
7882start_standalone_server_endpoint () {
7983 ${VALGRIND} tangd -p ${1} -l ${TMP} /db -e ${2} &
8084}
Original file line number Diff line number Diff line change @@ -31,3 +31,6 @@ export PID=$!
3131wait_for_port ${PORT}
3232
3333rec_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