Skip to content

Commit c36b333

Browse files
committed
are we sure we were running the code under test
1 parent 7ecb297 commit c36b333

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/long_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip
18-
pip install -e ".[dev]"
18+
python -m pip install -e ".[dev]"
1919
- name: Customize config
2020
run: |
2121
echo "Setup tmp dirs and chmod so others can cleanup."

.github/workflows/scheduled_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
python-version: '3.10'
2020
- name: Install Dependencies
2121
run: |
22-
pip install -e ".[dev]"
22+
python -m pip install -e ".[dev]"
2323
- name: Scheduled Tests
24-
run: pytest -m scheduled
24+
run: python -m pytest -m scheduled

.github/workflows/workflow.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python-version: '3.9'
1818
- name: Install dependencies
1919
run: |
20-
pip install tox tox-gh-actions
20+
python -m pip install tox tox-gh-actions
2121
- name: Run Tox Check
2222
run: tox -e check
2323

@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Dependencies
3636
run: |
3737
python -m pip install --upgrade pip
38-
pip install -e ".[dev]"
38+
python -m pip install -e ".[dev]"
3939
- name: Restore Cache
4040
uses: actions/cache@v4
4141
with:
@@ -107,9 +107,9 @@ jobs:
107107
python-version: ${{ matrix.python-version }}
108108
- name: Install dependencies
109109
run: |
110-
pip install tox tox-gh-actions
110+
python -m pip install tox tox-gh-actions
111111
# Optional packages
112-
pip install pyfftw # `test_fft` runs for pyfftw when installed
112+
python -m pip install pyfftw # `test_fft` runs for pyfftw when installed
113113
- name: Restore Cache
114114
uses: actions/cache@v4
115115
with:
@@ -182,8 +182,8 @@ jobs:
182182
run: |
183183
conda info
184184
conda list
185-
pip install -e ".[dev]"
186-
pip freeze
185+
python -m pip install -e ".[dev]"
186+
python -m pip freeze
187187
python -c "import numpy; numpy.show_config()"
188188
- name: Restore Cache
189189
uses: actions/cache@v4
@@ -202,7 +202,7 @@ jobs:
202202
export ASPIREDIR=.
203203
export OMP_NUM_THREADS=2
204204
# -n runs test in parallel using pytest-xdist
205-
pytest -n2 --durations=50 -s
205+
python -m pytest -n2 --durations=50 -s
206206
207207
# Build and Deploy production (main) docs.
208208
docs_deploy:
@@ -216,7 +216,7 @@ jobs:
216216
python-version: '3.9'
217217
- name: Install Dependencies
218218
run: |
219-
pip install -e ".[dev]"
219+
python -m pip install -e ".[dev]"
220220
- name: Run Sphinx doc build script
221221
env:
222222
GITHUB_ACTOR: ${{ github.actor }}
@@ -234,7 +234,7 @@ jobs:
234234
- uses: actions/checkout@v4
235235
- name: Install dependencies
236236
run: |
237-
pip install -e ".[dev,gpu-12x]"
237+
python -m pip install -e ".[dev,gpu-12x]"
238238
- name: Customize config
239239
run: |
240240
echo "Setup tmp dirs and chmod so others can cleanup."
@@ -283,7 +283,7 @@ jobs:
283283
- name: Install Dependencies
284284
run: |
285285
python -m pip install --upgrade pip
286-
pip install -e ".[dev]"
286+
python -m pip install -e ".[dev]"
287287
- name: Restore Cache
288288
uses: actions/cache@v4
289289
with:
@@ -333,8 +333,8 @@ jobs:
333333
- name: Complete Install and Log Environment
334334
run: |
335335
python --version
336-
pip install -e ".[dev]" # install aspire
337-
pip freeze
336+
python -m pip install -e ".[dev]" # install aspire
337+
python -m pip freeze
338338
- name: Restore Cache
339339
uses: actions/cache@v4
340340
with:

0 commit comments

Comments
 (0)