timm #2
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: Run pytest | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: github-actions-1 | |
container: python:3.9-slim | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run dependency libraries | |
run: | | |
apt-get update | |
apt-get upgrade | |
apt-get install -y ffmpeg git | |
- name: Run dependency libraries | |
run: | | |
pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 torchtext==0.15.1 | |
pip install ftfy regex tqdm msclap | |
pip install 'clip@git+https://github.com/openai/CLIP.git' | |
pip install ffmpeg-python pytest | |
pip install pillow sentencepiece transformers timm==1.0.9 | |
pip uninstall -y numpy | |
pip install numpy==1.23.5 | |
- name: Run pytest | |
run: pytest tests |