Update __init__.py #252
This file contains 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: Torch-Toolbox-CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Test task. | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Install Pytorch | |
run: | | |
conda install -y pytorch torchvision cpuonly -c pytorch \ | |
&& conda clean --all --yes | |
- name: Install dependence | |
run: | | |
conda install -y tqdm pyarrow six python-lmdb pytest scikit-learn \ | |
&& conda clean --all --yes \ | |
&& /usr/share/miniconda/bin/pip install -q opencv-python tensorboard pyyaml prettytable transformers | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Run test | |
run: | | |
/usr/share/miniconda/bin/pytest tests/ |