Skip to content

Commit

Permalink
Implement first CI pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
agricolab committed Dec 5, 2019
1 parent 4218e00 commit 4c94f0e
Show file tree
Hide file tree
Showing 14 changed files with 666 additions and 1,036 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: pytest

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
wget https://github.com/sccn/liblsl/releases/download/1.13.0-b13/liblsl-1.13.0-Linux64-bionic.deb
sudo dpkg -i liblsl-1.13.0-Linux64-bionic.deb
pip install -U pip
pip install git+https://github.com/labstreaminglayer/liblsl-Python.git
pip install -r requirements.txt
pip install .
- name: Test with pytest
run: |
pip install pytest
pytest
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
*/*_pycache_*
*/*.mypy_cache*
*.mypy_cache*
mypy.ini
.vscode*
lib/*
Loading

0 comments on commit 4c94f0e

Please sign in to comment.