4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user