forked from evidentlyai/evidently
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/evidentlyai/evidently
- Loading branch information
Showing
128 changed files
with
1,961 additions
and
4,739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,23 @@ jobs: | |
echo "One or more evidently_python file(s) has changed." | ||
echo "List all the files that have changed: ${{ steps.changed-files.outputs.evidently_python_all_changed_and_modified_files }}" | ||
code-check: | ||
name: UI code-check | ||
runs-on: ubuntu-22.04 | ||
needs: changed_files | ||
if: ${{ github.event.pull_request.draft == false && (needs.changed_files.outputs.ui_any_modified == 'true' || needs.changed_files.outputs.evidently_python_any_modified == 'true') }} | ||
|
||
steps: | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📥 Install ui dependencies | ||
uses: ./.github/share-actions/ui-node-pnpm-install | ||
|
||
- name: 🔬 Check code quality | ||
working-directory: ui | ||
run: pnpm code-check | ||
|
||
ui-type-check: | ||
name: UI type-check | ||
runs-on: ubuntu-22.04 | ||
|
@@ -150,16 +167,8 @@ jobs: | |
working-directory: ui | ||
run: pnpm dlx [email protected] install --with-deps | ||
|
||
- uses: actions/cache@v3 | ||
id: cache-bikes-dataset | ||
env: | ||
cache-name: cache-bikes-dataset | ||
with: | ||
path: Bike-Sharing-Dataset.zip | ||
key: cache-bikes-dataset | ||
- name: Download test data | ||
if: ${{ steps.cache-bikes-dataset.outputs.cache-hit != 'true' }} | ||
run: curl -k https://archive.ics.uci.edu/static/public/275/bike+sharing+dataset.zip -o Bike-Sharing-Dataset.zip | ||
- name: 🔍 Get bikes dataset cached | ||
uses: ./.github/share-actions/get-bikes-dataset-cached | ||
|
||
- name: Run UI | ||
run: EXPERIMENTAL_DETERMINISTIC_UUID="true" evidently ui --port 8000 --workspace workspace-for-visual-testing --demo-projects all & | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,8 @@ repos: | |
args: [--exit-non-zero-on-fix, --fix] | ||
- id: ruff-format | ||
|
||
# - repo: https://github.com/pre-commit/mirrors-prettier | ||
# rev: "v3.0.3" | ||
# hooks: | ||
# - id: prettier | ||
- repo: https://github.com/biomejs/pre-commit | ||
rev: "v0.4.0" | ||
hooks: | ||
- id: biome-check | ||
additional_dependencies: ["@biomejs/[email protected]"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"files": { | ||
// `endpoints.d.ts` is autogenerated | ||
// `JsonParser.ts` copied from https://github.com/douglascrockford/JSON-js | ||
"ignore": [ | ||
"ui/packages/evidently-ui-lib/src/**/JsonParser.ts", | ||
"ui/packages/evidently-ui-lib/src/**/endpoints.d.ts", | ||
"ui/packages/evidently-ui-lib/.tsc-dts/**" | ||
], | ||
"include": ["ui/*/src/**", "ui/packages/*/src/**"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineEnding": "lf", | ||
"lineWidth": 100, | ||
"attributePosition": "auto" | ||
}, | ||
"css": { | ||
"linter": { | ||
"enabled": true | ||
}, | ||
"formatter": { | ||
"enabled": true | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"arrowParentheses": "always", | ||
"bracketSameLine": false, | ||
"bracketSpacing": true, | ||
"jsxQuoteStyle": "single", | ||
"quoteStyle": "single", | ||
"quoteProperties": "asNeeded", | ||
"semicolons": "asNeeded", | ||
"trailingCommas": "none" | ||
} | ||
}, | ||
"json": { | ||
"formatter": { | ||
"trailingCommas": "none" | ||
} | ||
}, | ||
"organizeImports": { "enabled": true }, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.