-
Notifications
You must be signed in to change notification settings - Fork 23
41 lines (41 loc) · 1019 Bytes
/
job_tests.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
36
37
38
39
40
41
name: job_tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: "rwth-i6/i6_core"
path: "i6_core"
- uses: actions/checkout@v2
with:
repository: "rwth-i6/sisyphus"
path: "sisyphus"
- uses: actions/checkout@v2
with:
repository: "rwth-i6/returnn"
path: "returnn"
- uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Setup Sisyphus environment
run: |
pip install --user --upgrade pip setuptools wheel
cd sisyphus
pip install .
cd ..
pip install pytest
sudo apt update && sudo apt install -y libsndfile1
pip install -r i6_core/requirements.txt
- name: Test Jobs
run: |
set -e
pytest i6_core/tests/job_tests