Skip to content

Commit 33eefd6

Browse files
committed
Install needed requirements
1 parent f09b23d commit 33eefd6

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/linting.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,16 @@ jobs:
4040
- name: Install requirments
4141
run: pip3.11 install -r requirements/requirements_dev.txt
4242

43+
- name: Install test dependencies for pure-python-imports
44+
if: matrix.tests.name == 'pure-python-imports'
45+
run: |
46+
pip3.11 install -r requirements/requirements.in
47+
pip3.11 install -r requirements/requirements_testing.txt
48+
49+
- name: Run pure-python-imports check
50+
if: matrix.tests.name == 'pure-python-imports'
51+
run: python tools/check_pure_python_imports.py
52+
4353
- name: Run check ${{ matrix.tests.name }}
54+
if: matrix.tests.name != 'pure-python-imports'
4455
run: make ${{ matrix.tests.command }}

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ check_flake8:
4949
check_isort:
5050
tox -e isort -- --check $(CHECK_SYNTAX_FILES)
5151

52-
## Check that lib modules can be imported with pure Python (no Django setup)
53-
check_pure_python_imports:
54-
$(PYTHON) tools/check_pure_python_imports.py
5552

5653
## Starts a postgres container in the background if one is not running
5754
# Options:

0 commit comments

Comments
 (0)