Skip to content

Commit

Permalink
Replace python setup.py install with pip install .
Browse files Browse the repository at this point in the history
  • Loading branch information
msabramo authored and webknjaz committed Jan 8, 2025
1 parent 1cd883a commit bce65e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ jobs:
# Display the Python version being used
- name: Display Python version
run: python -c "import sys; print(sys.version)"
# Install the package using the setup.py
- name: Install package
run: python setup.py install
# Install pytest (you can use some other testing utility)
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r test-requirements.txt
# Run the tests. I'm using pytest and the file is in the tests directory.
- name: Install package
run: pip install .
- name: Run tests
run: pytest requests_unixsocket/tests

0 comments on commit bce65e2

Please sign in to comment.