Blob Blame History Raw
jobs:
  test_0:
    name: test_0
    runs-on: stream-8
    steps:
      - uses: "actions/checkout@v2"
      - run: dnf -y install pip
      - run: pip install each
      - run: ls -x1 tests | grep "^0_" > testlist
      - run: each -j 4 --no-stdin testlist "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
      - run: "! [[ -s failed_tests ]]"

name: Greeting
on:
  push: {}