Skip to content

Commit c4bd3c0

Browse files
author
ivelin
committed
Fixes #49
1 parent f58d4b6 commit c4bd3c0

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

.gitpod.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
tasks:
2-
- init: 'echo "TODO: Replace with init/build command"'
3-
command: 'echo "TODO: Replace with command to start project"'
2+
- init: |
3+
echo "Gitpod init. Setting up peerjs-python dev environment."
4+
pip3 install -e ./src
5+
command: |
6+
pyenv global system
7+
echo "Started peerjs-python development environment."
8+
echo "To run the peerjs-python testsuite use:"
9+
echo "python3 -m pytest --cov=peerjs --cov-report=term tests/"

.theia/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.pythonPath": "/home/gitpod/.pyenv/versions/3.8.7/bin/python"
3+
}

tests/test_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Test configuration functions."""
22

3-
# Placeholder for now
4-
3+
from peerjs.ext import http_proxy
54

65
def test_noop():
76
"""Test nothing. Just a placeholder for now."""
87
assert True
8+

0 commit comments

Comments
 (0)