Skip to content

Commit a3bc098

Browse files
committed
lint-and-test: WIP3.
1 parent b7d61cb commit a3bc098

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ jobs:
101101
python-version: ${{ env.LINTING_PYTHON_VERSION }}
102102
cache: 'pip'
103103
cache-dependency-path: 'pyproject.toml'
104-
# - name: Install with linting tools
105-
# run: pip install .[linting]
106-
- name: NEW INSTALL
104+
- name: Lint
107105
run: |
108106
make
109107
. zt_venv/bin/activate
@@ -121,10 +119,11 @@ jobs:
121119
python-version: ${{ env.LINTING_PYTHON_VERSION }}
122120
cache: 'pip'
123121
cache-dependency-path: 'pyproject.toml'
124-
- name: Minimal install
125-
run: pip install .
126-
- name: Run lint-hotkeys
127-
run: ./tools/lint-hotkeys
122+
- name: Lint
123+
run: |
124+
make
125+
. zt_venv/bin/activate
126+
./tools/lint-hotkeys
128127
129128
docstrings:
130129
runs-on: ubuntu-latest
@@ -138,10 +137,11 @@ jobs:
138137
python-version: ${{ env.LINTING_PYTHON_VERSION }}
139138
cache: 'pip'
140139
cache-dependency-path: 'pyproject.toml'
141-
- name: Minimal install
142-
run: pip install .
143-
- name: Run lint-docstring
144-
run: ./tools/lint-docstring
140+
- name: Lint
141+
run: |
142+
make
143+
. zt_venv/bin/activate
144+
./tools/lint-docstring
145145
146146
gitlint:
147147
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)