Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/move to poetry #470

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint sphinx sphinx_rtd_theme
pip install -r requirements.txt
pip install poetry
poetry install
- name: Run pylint
run: |
pylint --disable=I --disable=W --disable=C --disable=R p5
poetry run pylint --disable=I --disable=W --disable=C --disable=R p5

pytest:
needs : pylint
Expand All @@ -44,12 +44,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
pip install poetry
poetry install
sudo apt-get install python3-opengl libglfw3 -y
- name: Run Tests
run: |
pytest -svv p5
poetry run pytest -svv p5

sanity-tests:
needs : pytest
Expand Down
1 change: 1 addition & 0 deletions .pylint
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
disable=I,W,C,R
Loading
Loading