Skip to content

(test PR/ no need to review)NXDRIVE-2729: fix nuxeo drive folder icon on macos 11.4/11.5 (Sourcery refactored) #2472

(test PR/ no need to review)NXDRIVE-2729: fix nuxeo drive folder icon on macos 11.4/11.5 (Sourcery refactored)

(test PR/ no need to review)NXDRIVE-2729: fix nuxeo drive folder icon on macos 11.4/11.5 (Sourcery refactored) #2472

Workflow file for this run

name: Code style
on:
pull_request:
paths:
- "**/*.py"
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9 # XXX_PYTHON
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('tools/deps/requirements-tests.txt', 'tools/deps/requirements-tox.txt') }}
restore-keys: ${{ runner.os }}-pip-${{ hashFiles('tools/deps/requirements-tests.txt', 'tools/deps/requirements-tox.txt') }}
- uses: actions/cache@v3
with:
path: .tox
key: ${{ runner.os }}-tox-${{ hashFiles('tools/deps/requirements-tests.txt', 'tools/deps/requirements-tox.txt') }}
restore-keys: ${{ runner.os }}-tox-${{ hashFiles('tools/deps/requirements-tests.txt', 'tools/deps/requirements-tox.txt') }}
- name: Install dependencies
run: python -m pip install -r tools/deps/requirements-tox.txt
- name: Code style check
run: tox -e style