Signal handling - SIGTERM will stop calculation and force file saving #604
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Style | |
on: | |
pull_request: | |
paths: | |
- "**.[ch]pp" | |
- "**.[ch]" | |
- "**.cfg" | |
- "**.py" | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
check-latest: true | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: Run checks | |
run: pre-commit run -a -v | |
- name: Git status | |
if: always() | |
run: git status | |
- name: Full diff | |
if: always() | |
run: git diff |