Skip to content

improve data ingetion query #1859

improve data ingetion query

improve data ingetion query #1859

Workflow file for this run

# ----------------------------------------------------------------------------
# Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)
#
# This file is part of Deepchecks.
# Deepchecks is distributed under the terms of the GNU Affero General
# Public License (version 3 or later).
# You should have received a copy of the GNU Affero General Public License
# along with Deepchecks. If not, see <http://www.gnu.org/licenses/>.
# ----------------------------------------------------------------------------
#
name: License Check
env:
DISABLE_DEEPCHECKS_ANONYMOUS_TELEMETRY: "true"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEEPCHECKS_CI_TOKEN: ${{ secrets.DEEPCHECKS_CI_TOKEN }}
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
backend-license-check:
runs-on: ubuntu-latest
if: "!github.event.pull_request.draft"
steps:
- name: Checkout the code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Get explicit and transitive dependencies
run: |
pip install -U pip==22.0.4 setuptools==58.3.0
pip install -q -r requirements.txt
pip freeze > requirements-all.txt
working-directory: ./backend
- name: Check python
id: license_check_report
uses: pilosus/[email protected]
with:
requirements: "backend/requirements-all.txt"
fail: "Copyleft,Other,Error"
exclude: '(envier.*0\.5\.0|psycopg2.*2\.9\.3|fqdn.*1\.5\.1|pyzmq.*25\.1\.2|debugpy.*1\.6\.7|certifi.*2024\.8\.30|tqdm.*4\.66\..*|webencodings.*0\.5\.1|torch.*1\.10\.2.*|torch.*1\.11\.0.*|pytorch-ignite.*0\.4\.10.*|torchaudio.*0\.11\.0.*|torchvision.*0\.12\.0.*|terminado.*0\.15\.0|qudida.*0\.0\.4|expiringdict.*1\.2\.2|botocore.*1\.29\.80|orderedmultidict.*1\.0\.1|deepchecks.*)'
# psycopg2 is LGPL 2
# pyzmq is Revised BSD https://github.com/zeromq/pyzmq/blob/main/examples/LICENSE
# debugpy is MIT https://github.com/microsoft/debugpy/blob/main/LICENSE
# certifi is MPL-2.0 https://github.com/certifi/python-certifi/blob/master/LICENSE
# tqdm is MPL-2.0 https://github.com/tqdm/tqdm/blob/master/LICENCE
# webencodings is BSD https://github.com/gsnedders/python-webencodings/blob/master/LICENSE
# torch is BSD https://github.com/pytorch/pytorch/blob/master/LICENSE
# torchvision is BSD https://github.com/pytorch/vision/blob/main/LICENSE
# torchaudio is BSD https://github.com/pytorch/audio/blob/main/LICENSE
# terminado is BSD https://github.com/jupyter/terminado/blob/main/LICENSE
# orderedmultidict is freeley distributed https://github.com/gruns/orderedmultidict/blob/master/LICENSE.md
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
frontend-license-check:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install --production=false
working-directory: ./frontend
- run: ./node_modules/license-checker/bin/license-checker --production --onlyAllow "MIT;ISC;BSD;Apache-2.0;Python-2.0;CC0-1.0;Unlicense;CC-BY-4.0" --excludePackages "[email protected];[email protected];[email protected];@mapbox/[email protected];[email protected]" --summary --excludePrivatePackages
working-directory: ./frontend
# axe-core is MPL-2.0 https://www.npmjs.com/package/axe-core
# caniuse-lite is CC-BY-4.0 https://github.com/browserslist/caniuse-lite/blob/main/LICENSE
# lz-string is WTFPL (MIT) https://github.com/pieroxy/lz-string/blob/master/LICENSE
# @mapbox/jsonlint-lines-primitives is MIT https://github.com/tmcw/jsonlint
# gl-mat is zlib license