Skip to content

Commit bce65e2

Browse files
msabramowebknjaz
authored andcommitted
Replace python setup.py install with pip install .
1 parent 1cd883a commit bce65e2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ jobs:
2828
# Display the Python version being used
2929
- name: Display Python version
3030
run: python -c "import sys; print(sys.version)"
31-
# Install the package using the setup.py
32-
- name: Install package
33-
run: python setup.py install
3431
# Install pytest (you can use some other testing utility)
3532
- name: Install deps
3633
run: |
3734
python -m pip install --upgrade pip
3835
pip install -r requirements.txt -r test-requirements.txt
3936
# Run the tests. I'm using pytest and the file is in the tests directory.
37+
- name: Install package
38+
run: pip install .
4039
- name: Run tests
4140
run: pytest requests_unixsocket/tests

0 commit comments

Comments
 (0)