Skip to content

Commit

Permalink
install test dependencies manually
Browse files Browse the repository at this point in the history
  • Loading branch information
teddykoker committed Dec 29, 2023
1 parent 54754d9 commit 7fc982e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ 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 Dependencies # this used to work without running setup.py develop... not sure why it broke
run: python3 -m pip install -e .[testing]
# this used to work but for some reason fails with "No module named 'torch'", despite it being available
# - name: Install Dependencies
# run: python3 -m pip install -e .[testing]
- name: Install Package
run: python3 setup.py develop
- name: Install Dependencies
run: python -m pip install pytest git+https://github.com/google-research/fast-soft-sort.git@6a52ce79869ab16e1e0f39149a84f50f8ad648c5
- name: Run Pytest
run: python3 -m pytest -s -v

0 comments on commit 7fc982e

Please sign in to comment.