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

Use latest codecov GH action version (v5) #155

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
os:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
[ -z "${ninja}" ] && export ninja=$(command -v ninja-build)
gcovr -r .. -f ../src -f src/ -e ../tests -e tests -x coverage.xml

- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v5
with:
file: build/coverage.xml
fail_ci_if_error: true # optional (default = false)
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/install-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ debian:*|ubuntu:*)
apt clean
apt update
apt -y install gcc meson pkg-config libjose-dev jose libhttp-parser-dev \
systemd gcovr curl socat iproute2 asciidoc
systemd gcovr curl socat iproute2 asciidoc git
;;

*fedora:*)
echo 'max_parallel_downloads=10' >> /etc/dnf/dnf.conf
dnf -y clean all
dnf -y --setopt=deltarpm=0 update
dnf -y install gcc meson pkgconfig libjose-devel jose llhttp-devel \
systemd gcovr curl socat iproute asciidoc
systemd gcovr curl socat iproute asciidoc git
;;

centos:7)
Expand All @@ -23,7 +23,7 @@ centos:7)
yum install -y yum-utils epel-release
yum config-manager -y --set-enabled PowerTools \
|| yum config-manager -y --set-enabled powertools || :
yum -y install meson socat iproute asciidoc
yum -y install meson socat iproute asciidoc git
yum-builddep -y tang
;;

Expand All @@ -33,7 +33,7 @@ centos:7)
dnf install -y dnf-plugins-core epel-release
dnf config-manager -y --set-enabled powertools \
|| dnf config-manager -y --set-enabled crb || :
dnf -y install meson socat iproute
dnf -y install meson socat iproute git
dnf builddep -y tang --allowerasing --skip-broken --nobest
;;
esac
Expand Down
4 changes: 4 additions & 0 deletions tests/helpers
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ start_standalone_server() {
${VALGRIND} tangd -p ${1} -l ${TMP}/db &
}

start_standalone_server_fg() {
${VALGRIND} tangd -p ${1} -l ${TMP}/db
}

start_standalone_server_endpoint() {
${VALGRIND} tangd -p ${1} -l ${TMP}/db -e ${2} &
}
Expand Down
3 changes: 3 additions & 0 deletions tests/rec-socat
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ export PID=$!
wait_for_port ${PORT}

rec_second_phase

# Start the server in a wrong port
start_standalone_server_fg "-1" && false || true
Loading