-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 869 Bytes
/
pytest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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