File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2424 uses : actions/checkout@v4
2525
2626 # install dependencies for all linters, then run the linter, so we don't get import failures when the linters scan the code
27+ # not required, just makes the test cases a bit cleaner
2728 - name : Install pip dependencies
2829 if : ${{ ! ( runner.os == 'macOS' && matrix.python-version == '3.7' ) }}
2930 run : |
@@ -39,10 +40,13 @@ jobs:
3940 python_packages=('flake8' 'pylint' 'ruff' 'mypy' 'pytype' 'pyright' 'fixit' 'pyre-check' 'flake8-sarif-formatter')
4041 for package in "${python_packages[@]}"; do
4142 echo "::notice::Installing Python package ${package}"
42- python3 -mpip install ${PIP_ARGS} -q "${package}"
43+ if ! python3 -mpip install ${PIP_ARGS} -q "${package}"; then
44+ echo "::warning::Failed to installed Python dependency ${package}, continuing"
45+ fi
4346 done
4447
4548 - name : Run Python Lint
49+ if : ${{ ! ( runner.os == 'macOS' && matrix.python-version == '3.7' ) }}
4650 uses : advanced-security/python-lint-code-scanning-action@main
4751 with :
4852 linter : ${{ matrix.linter }}
You can’t perform that action at this time.
0 commit comments