-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.27 KB
/
end-to-end-test.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: End to end test
on:
# Run reach time there is a push to develop or main
push:
branches: [develop, main]
# Run each time there is a pull request to develop
pull_request:
branches: [develop]
# Run once a day at a somewhat arbitrary time
schedule:
- cron: "27 3 * * *"
jobs:
end_to_end_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.8"
# Do not enable caching. The action currently only supports
# requirements.txt files, but our dependencies are in setup.cfg.
#cache: "pip"
# Set up CUDA for Spleeter's Tensorflow install
#- uses: Jimver/[email protected]
# id: cuda-toolkit
# with:
# cuda: '11.5.1'
- name: Update apt
run: sudo apt-get update
- name: Install libsndfile1
run: sudo apt-get install -y libsndfile1
- name: Install ffmpeg
run: sudo apt-get install -y ffmpeg
- name: Install brownify package
run: pip install .
- name: Run the test
run: |
GITHUB_REPOSITORY=${{ env.GITHUB_REPOSITORY }} /bin/bash tests/end-to-end/test.sh -c
env:
GITHUB_REPOSITORY: deezer/spleeter