chores: add installation test on cpu #1
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: basic install | |
on: [push, pull_request] | |
jobs: | |
docs_to_gh-pages: | |
runs-on: ubuntu-latest | |
name: basic install of compressai-vision (torch cpu) | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: install dependencies pip | |
run: | | |
python3 -m pip install -U pip | |
bash scripts/install.sh -m detectron2 --no-weights |