Skip to content

check presence of CWD at the end of run_shell_cmd and try to return to original working directory if non-existent #3845

check presence of CWD at the end of run_shell_cmd and try to return to original working directory if non-existent

check presence of CWD at the end of run_shell_cmd and try to return to original working directory if non-existent #3845

Workflow file for this run

name: Static Analysis
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}}
cancel-in-progress: true
jobs:
python-linting:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install Python packages
run: |
pip install --upgrade pip
pip install --upgrade flake8
- name: Run flake8 to verify PEP8-compliance of Python code
run: |
flake8