Skip to content

Commit

Permalink
Fixup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieuvigne committed Sep 10, 2022
1 parent 2dea2b1 commit bbdce06
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,24 @@ permissions:
contents: read

jobs:
build:
test:

runs-on: python:3.8-buster
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
# The first requirements are for pygobject.
# The last - xvfb - comes from https://pygobject.readthedocs.io/en/latest/guide/testing.html:
# to run a GTK app headless we create a fake X server with xvfb
apt-get update &&\
apt-get install -y libgirepository1.0-dev gcc libcairo2-dev pkg-config gir1.2-gtk-3.0 xvfb &&\
pip install .
sudo apt-get update &&\
sudo apt-get install -y libgirepository1.0-dev gcc libcairo2-dev pkg-config gir1.2-gtk-3.0 xvfb &&\
pip install .
- name: Test with pytest
run: |
xvfb-run pytest unit/
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<img align="left" width="60" height="60" src="src/nemo_bldc/doc/logo.png" alt="Resume application project app icon">

# Nemo

In drones or in robotics, brushless motors are becoming more and more common. However, choosing the right motor for the right application can be quite difficult. Indeed, understanding datasheets can be quite complexe: is a motor with a no-load speed of 5000rpm more powerful that one with the same torque, but specified for 3000rpm at max torque? How do you compare a motor with a KV of 500 rpm/V with one with a Kt of 0.5Nm/Arms? And what do these value even mean? Sometimes you might feel like nobody can answer - well now, **Nemo** can!
Expand Down Expand Up @@ -39,4 +37,4 @@ pip install .

### Windows binary

TODO
TODO
Binary file removed src/nemo_bldc/doc/logo.png
Binary file not shown.

0 comments on commit bbdce06

Please sign in to comment.