Skip to content

Commit c6d1513

Browse files
Change install order
1 parent 66d32cd commit c6d1513

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python_version }}
3131
cache: "pip"
32-
- name: Install dependencies
33-
run: |
34-
python -m pip install --upgrade pip
35-
pip install -r requirements.txt
3632
- name: "Create micromamba environment"
3733
uses: mamba-org/setup-micromamba@v1
3834
with:
@@ -53,10 +49,13 @@ jobs:
5349
- name: "Python version . . ."
5450
run: |
5551
python -c "import sys; print(sys.version)"
56-
python -m pip --version
52+
pip --version
53+
- name: Pip installing dependencies . . .
54+
run: |
55+
pip install -r requirements.txt
5756
- name: "Pip installing libsemigroups_pybind11 . . ."
5857
run: |
59-
CXX="${{ matrix.compiler }}" python -m pip install -e . -v
58+
CXX="${{ matrix.compiler }}" pip install -e . -v
6059
- name: "Test package loading . . ."
6160
run: python -c "from libsemigroups_pybind11 import *"
6261
- name: "python -m pytest -vv tests/test_*.py . . ."

0 commit comments

Comments
 (0)