Skip to content

Update autotest workflow #2

Update autotest workflow

Update autotest workflow #2

Workflow file for this run

name: Run Python Tests
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install PyTorch
run: |
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
- name: Install tensorfrost from TestPyPI
run: |
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ tensorfrost
- name: Make test script executable
run: chmod +x run_tests.sh
- name: Run tests
run: ./run_tests.sh