update build

This commit is contained in:
felinae98 2021-09-26 16:31:51 +08:00
parent 5e153b0d2f
commit e3bdc62d1c
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -6,6 +6,7 @@ orbs:
# so you dont have to copy and paste it everywhere.
# See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/python
python: circleci/python@1.4
node: circleci/node@4.7.0
# poetry: frameio/poetry@0.21.0
swissknife: roopakv/swissknife@0.59.0
@ -37,6 +38,12 @@ jobs:
# - run: sed -e '41,45d' -i pyproject.toml
- python/install-packages:
pkg-manager: poetry
- node/install-packages:
app-dir: ./admin-frontend
pkg-manager: yarn
- node/run:
app-dir: ./adin-frontend
yarn-run: build
- run:
name: Coverage test
command: poetry run coverage run -m pytest --junitxml=test-results/junit.xml -k 'not compare'