upgrade pip #173
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
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] | |
- name: Run Pytest | |
run: python3 -m pytest -s -v |