Skip to content

Commit 5d9acb8

Browse files
committed
[workflow] use pip install . to avoid deprecation warnings
1 parent 90ef0f3 commit 5d9acb8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: python -c "import sys; print(sys.version)"
2525
- name: Install dependencies
2626
run: |
27-
python setup.py install
27+
pip install . install
2828
pip install -r requirements-test.txt
2929
- name: Run tests
3030
run: pytest
@@ -46,7 +46,7 @@ jobs:
4646
run: python -c "import sys; print(sys.version)"
4747
- name: Install dependencies
4848
run: |
49-
python setup.py install
49+
pip install . install
5050
pip install -r requirements-test.txt
5151
- name: Run tests
5252
run: pytest
@@ -72,7 +72,7 @@ jobs:
7272
run: python -c "import sys; print(sys.version)"
7373
- name: Install dependencies
7474
run: |
75-
python setup.py install
75+
pip install .
7676
pip install -r requirements-test.txt
7777
- name: Run tests
7878
run: pytest
@@ -98,7 +98,7 @@ jobs:
9898
run: python -c "import sys; print(sys.version)"
9999
- name: Install dependencies
100100
run: |
101-
python setup.py install
101+
pip install .
102102
pip install -r requirements-test.txt
103103
- name: Run tests
104104
run: pytest
@@ -114,7 +114,7 @@ jobs:
114114
run: python -c "import sys; print(sys.version)"
115115
- name: Install dependencies
116116
run: |
117-
python setup.py install
117+
pip install .
118118
pip install -r requirements-test.txt
119119
pip install pytest coveralls
120120
- name: Create coverage
@@ -134,7 +134,7 @@ jobs:
134134
python-version: "3.10"
135135
- name: Install dependencies
136136
run: |
137-
python setup.py install
137+
pip install .
138138
pip install -r requirements-test.txt
139139
pip install pytest pytest-cov
140140
- name: Create coverage

0 commit comments

Comments
 (0)