CI tests: replace UG_SKIP_NET_TESTS with GITHUB_REPOSITORY

Automatically ignore network test errors (typically a multicast on mac
and in arm chroot) if run from CI.
This commit is contained in:
Martin Pulec
2022-11-07 10:11:43 +01:00
parent ee7af88b7e
commit a082cdaf12
3 changed files with 3 additions and 4 deletions

View File

@@ -12,7 +12,6 @@ APPNAME=UltraGrid-latest-${ARCH}.AppImage
./autogen.sh --enable-plugins
make -j "$(nproc)"
export UG_SKIP_NET_TESTS=1
make check
make distcheck

View File

@@ -9,7 +9,7 @@ CPATH=/usr/local/include:/usr/local/opt/qt/include
DYLIBBUNDLER_FLAGS="${DYLIBBUNDLER_FLAGS:+$DYLIBBUNDLER_FLAGS }-s /usr/local/lib"
LIBRARY_PATH=/usr/local/lib:/usr/local/opt/qt/lib
# shellcheck disable=SC2140
printf "%b" "UG_SKIP_NET_TESTS=1\n"\
printf "%b" \
"CPATH=$CPATH\n"\
"LIBRARY_PATH=$LIBRARY_PATH\n" >> "$GITHUB_ENV"
echo "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/qt/lib/pkgconfig" >> "$GITHUB_ENV"