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: