From 5de2e033ac8422de1da1d379bc21b8d5a6b2e96b Mon Sep 17 00:00:00 2001 From: project-repo Date: Sat, 9 Dec 2023 14:51:56 +0100 Subject: [PATCH] Change user mod command --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9ef0c2..81e5aa0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - run: meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release - run: ninja -C build - run: useradd test && usermod -L test - - run: su - test && meson test -C build --suite basic -v + - run: runuser -l test -c 'meson test -C build --suite basic -v' release: runs-on: ubuntu-latest container: @@ -41,7 +41,7 @@ jobs: - run: meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release - run: ninja -C build - run: useradd test && usermod -L test - - run: su - test && meson test -C build --suite release -v + - run: runuser -l test -c 'meson test -C build --suite release -v' # pkgtest: