File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 88
99 steps :
1010 - uses : actions/checkout@v2
11+
1112 - name : Set up Python 3.6
1213 uses : actions/setup-python@v1
1314 with :
1415 python-version : 3.6
16+
1517 - name : Install dependencies
1618 run : |
1719 python -m pip install --upgrade pip
1820 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
21+
1922 - name : Install library
2023 run : python3 setup.py install
24+
2125 - name : Install sphinx
2226 run : pip3 install pylint Sphinx sphinx-rtd-theme
23- - name : Run all unittests
24- env :
27+
28+ - name : Run unittests
29+ env :
2530 SECRET_IO_KEY : ${{ secrets.CI_IO_KEY }}
2631 SECRET_IO_USER : ${{ secrets.CI_IO_USERNAME }}
2732 run : |
2833 cd tests/
29- ADAFRUIT_IO_KEY=" $SECRET_IO_KEY" ADAFRUIT_IO_USERNAME=" $SECRET_IO_USER" python -m unittest discover
34+ ADAFRUIT_IO_KEY=$SECRET_IO_KEY ADAFRUIT_IO_USERNAME=$SECRET_IO_USER python -m unittest discover
3035 cd ..
36+
3137 - name : Generate documentation
3238 run : |
3339 cd docs && sphinx-build -E -W -b html . _build/html && cd ..
Original file line number Diff line number Diff line change 8787
8888# Sample VEML6070
8989def sample_VEML ():
90- for j in range (10 ):
91- uv_raw = uv .read
90+ for _ in range (10 ):
91+ uv_raw = uv .uv_raw
9292 return uv_raw
9393
9494while True :
You can’t perform that action at this time.
0 commit comments