Skip to content

Commit

Permalink
rm venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Bakera committed Dec 23, 2023
1 parent 87f8879 commit f8c66dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/python-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ jobs:
uses: snok/install-poetry@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
pip install -r docgen/requirements.txt
poetry install
- name: Run tests
run: |
Expand Down
7 changes: 4 additions & 3 deletions tests.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/sh

make venv
# TODO rm
# make venv
make configuration.py

# running doctests
FILES="flipdotsim.py flipdotfont.py displayprovider.py net.py rogueflip.py fffmqtt.py"
echo testing $FILES
# turn off pygame greeting upon first import
PYGAME_HIDE_SUPPORT_PROMPT=1
venv/bin/python -m doctest $FILES
poetry run python -m doctest $FILES

# running tests using pytest
ls *py | \
# ignoring some files for tests because of missing dependencies
grep -v displayserver_service.py | \
grep -v flipdotdisplay.py | \
grep -v MCP23017.py | \
xargs venv/bin/pytest -v
xargs poetry run pytest -v

0 comments on commit f8c66dd

Please sign in to comment.