Skip to content

Installation test

Installation test #569

Workflow file for this run

name: Installation test
on:
schedule:
- cron: '00 18 * * *'
jobs:
smoke-test:
name: Basic test for (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install PyTorch
run: conda install pytorch torchvision -c pytorch
- name: Install TinyNeuralNetwork
run: python setup.py install
- name: Basic imports
run: |
cd tests
python import_test.py -v