Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2021-12-08 14:13:17 -08:00
parent 9822c09b31
commit cd68bad603

View File

@ -32,14 +32,15 @@ jobs:
echo "export PATH=\"${HOME}/.poetry/bin;\${PATH}\"" >> "${HOME}/.bashrc"
echo "source ${HOME}/.poetry/env" >> "${HOME}/.bashrc"
source "${HOME}/.bashrc"
source $HOME/.poetry/env
- name: Build
shell: bash
run: |
cd kittycad
poetry build
- name: Lint with flake8
shell: bash
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
@ -47,6 +48,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
shell: bash
run: |
cd kittycad
pytest