Skip to content

Commit b8df8fe

Browse files
committed
Switch to install recommended dependencies with ALLDEPS arg to make.
1 parent a75ee19 commit b8df8fe

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/python-sanity-check.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,14 @@ jobs:
7676
run: |
7777
python -m pip install --upgrade pip
7878
pip install flake8 pylint #pytest
79-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
80-
if [ -f recommended.txt ]; then pip install -r recommended.txt; fi
8179
# We may need git installed to get a full repo clone rather than unpacked archive
8280
- name: Check out source repository
8381
uses: actions/checkout@v4
8482
with:
8583
fetch-depth: 0 # This is necessary to get the commits
86-
- name: Setup environment
84+
- name: Setup environment with full recommended dependencies
8785
run: |
88-
make PYTHON_BIN=python3 dependencies
86+
make PYTHON_BIN=python3 ALLDEPS=1 dependencies
8987
- name: Lint with pylint
9088
run: |
9189
# Make sure we can find migrid modules
@@ -133,9 +131,9 @@ jobs:
133131
uses: actions/checkout@v4
134132
with:
135133
fetch-depth: 0 # This is necessary to get the commits
136-
- name: Setup environment
134+
- name: Setup environment with full recommended dependencies
137135
run: |
138-
make PYTHON_BIN=python3 dependencies
136+
make PYTHON_BIN=python3 ALLDEPS=1 dependencies
139137
- name: Lint with pylint
140138
run: |
141139
# NOTE: we only run pylint error check for changed python files to limit noise

0 commit comments

Comments
 (0)