-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (33 loc) · 1.08 KB
/
pytest.yml
File metadata and controls
38 lines (33 loc) · 1.08 KB
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
name: run tests automatically each push
on: push
jobs:
tester:
name: Use pytest to run tests each push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install Dependencies
run: |
git clone "https://github.com/flucoma/flucoma-cli.git"
cd flucoma-cli
mkdir -p build && cd build
cmake ..
make install
cd ..
echo "::add-path::$GITHUB_WORKSPACE/flucoma-cli/release-packaging/FluidCorpusManipulation/bin"
- name: Install Libraries
run: sudo apt-get install libsndfile1
- name: Setup Python
run: |
cd $GITHUB_WORKSPACE
ls $GITHUB_WORKSPACE/flucoma-cli/
echo $PATH
python -m pip install --upgrade pip
pip install setuptools wheel pytest
pip install -e .
- name: Run Tests
run: pytest