diff --git a/.github/workflows/centos-stream8.yml b/.github/workflows/centos-stream8.yml index 0234ef1..ad98bf4 100644 --- a/.github/workflows/centos-stream8.yml +++ b/.github/workflows/centos-stream8.yml @@ -4,10 +4,10 @@ jobs: runs-on: stream-8 steps: - uses: "actions/checkout@v2" - - run: dnf -y install pip - - run: pip install each + - run: sudo dnf -y install pip + - run: sudo pip install each - run: ls -x1 tests | grep "^0_" > testlist - - run: each -j 4 --no-stdin testlist "sh -c 'cd /opt && ./runtests.sh {}'" + - run: each -j 4 --no-stdin testlist "sudo sh -c 'cd /opt && ./runtests.sh {}'" - run: find . -type f -name "status" -exec grep '1' "{}" \; -exec dirname "{}" \; - run: find . -type f -name "status" -exec grep '1' "{}" \; -exec dirname "{}" \; > failed_tests - run: cat failed_tests | grep -v "^1" | xargs -i tail {}/out