Skip to content

Retry bsub on ssh failure #25107

Retry bsub on ssh failure

Retry bsub on ssh failure #25107

Workflow file for this run

name: Style
on:
push:
branches:
- main
- 'version-**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
check-style:
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: |
setup.py
pyproject.toml
- name: Install ERT with style dependencies
run: |
pip install ".[style]"
- name: Add matching rule
run: echo ::add-matcher::.github/flake8-matcher.json
- name: Run style check
if: ${{ always() }}
run: |
pre-commit run --all-files --show-diff-on-failure