Skip to content

Commit

Permalink
Prepare the branch for PR-78
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadtalasila committed Sep 3, 2023
1 parent 7f0f04c commit 0aaa611
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 22 deletions.
25 changes: 11 additions & 14 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
---
version: "2"

plugins:
shellcheck:
enabled: true
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
typescript:
mass_threshold: 55
javascript:
python:
python_version: 3
php:
eslint:
enabled: true
channel: "eslint-8"
config:
config: .eslintrc
config: client/.eslintrc
fixme:
enabled: true
markdownlint:
enabled: true
shellcheck:
enabled: true

exclude_patterns:
- "**.md"
- "**.txt"
- "**.json"
- "**/api/"
- "**/build/"
- "**/coverage/"
- "**/dist/"
- docs/
- "**/node_modules/"
- "**/build/"
- "**/public/"
- client/config/
- servers/lib/src/types.ts
- "**/coverage"
- "client/config/"
- "**/__generated__/"
21 changes: 16 additions & 5 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,29 @@ jobs:
- name: Build the React SPA website
run: |
cd client/
yarn install
./script/install.bash
yarn build
yarn configapp dev
yarn configapp test
- name: Run client unit and integration tests
run: |
cd client/
yarn install
yarn test -u
yarn test -i
- name: Upload unit and integration test coverage to Codecov
- name: 'Upload Artifact'
if: failure()
uses: actions/upload-artifact@v3
with:
name: E2E-error-trace
path: client/test-results
- name: Upload unit test coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: client/coverage/clover.xml
flags: client-unit-integration-tests
flags: client-unit-test

- name: Upload browser test coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: client/playwright-report/results.json
flags: client-browser-test
9 changes: 6 additions & 3 deletions client/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
api/
build/
config/
node_modules/
script/
script/
api/
config/
*.graphql.ts
test-results/
playwright-report/

0 comments on commit 0aaa611

Please sign in to comment.