Skip to content

Installation test

Installation test #866

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-13", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
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