Skip to content

BUG: Exit with status 0 even if stdin closes abruptly #31

BUG: Exit with status 0 even if stdin closes abruptly

BUG: Exit with status 0 even if stdin closes abruptly #31

Workflow file for this run

name: CI
on:
push:
branches: [master]
tags: ['v*']
pull_request: { branches: [master] }
schedule: [ cron: '5 1 5 * *' ]
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: shellcheck -o all -e SC2250,SC2292 diff-logs
- run: pip install flake8
- run: flake8 --max-line-length=120 *.py
- run: echo '2000-01-01T00:00:00' > file.log
- run: time ./diff-logs < file.log
- run: time ./diff-logs file.log file.log
workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c # v1.2.1