Skip to content

Commit

Permalink
upgrade pip
Browse files Browse the repository at this point in the history
  • Loading branch information
teddykoker committed Dec 29, 2023
1 parent 57dbad5 commit 54754d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python3 -m pip install --upgrade pip setuptools
- name: Install PyTorch
run: python3 -m pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Install Package
run: python3 setup.py develop
- name: Install Test Dependencies # this used to work without running setup.py develop... not sure why it broke
# - name: Install Package
# run: python3 setup.py develop
- name: Install Dependencies # this used to work without running setup.py develop... not sure why it broke
run: python3 -m pip install -e .[testing]
- name: Run Pytest
run: python3 -m pytest -s -v
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def ext_modules():
extras_require={
"testing": [
"pytest",
"torch",
# "torch",
"fast_soft_sort @ git+https://github.com/google-research/fast-soft-sort.git@6a52ce79869ab16e1e0f39149a84f50f8ad648c5",
],
},
Expand Down

0 comments on commit 54754d9

Please sign in to comment.