pull/1754/head
filip mertens 3 years ago
parent b75c1c58e6
commit 0178fd3337
  1. 1
      .circleci/config.yml
  2. 7
      apps/remix-ide/ci/lint.sh
  3. 9
      apps/remix-ide/ci/parse_workspace.py

@ -55,6 +55,7 @@ jobs:
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org"
- COMMIT_AUTHOR: "Circle CI"
working_directory: ~/remix-project
parallelism: 20
steps:
- checkout
- restore_cache:

@ -6,9 +6,10 @@ BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}}
echo "$BUILD_ID"
TEST_EXITCODE=0
npm run lint || TEST_EXITCODE=1
npm run lint:libs || TEST_EXITCODE=1
npm run lint remix-ide-e2e || TEST_EXITCODE=1
nx run remix-core-plugin:lint
nx run remix-ui-settings:lint
nx run remix-ui-renderer:lint
nx run solidity-compiler:lint
echo "$TEST_EXITCODE"
if [ "$TEST_EXITCODE" -eq 1 ]

@ -0,0 +1,9 @@
import json
with open('../../../workspace.json') as f:
data = json.load(f)
for key in data['projects']:
if(data['projects'][key]['architect']['lint']):
print('nx run %s:lint' % key)
Loading…
Cancel
Save