Installation test #1422
This file contains hidden or 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: 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-15-intel", "macos-latest", "windows-latest"] | |
| python-version: ["3.9", "3.10", "3.11"] | |
| 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: pip install . | |
| - name: Basic imports | |
| run: | | |
| cd tests | |
| python import_test.py -v |