Skip to content

fix(apis/web/metrics): 修复网关资源宽带占用标签显示问题 #1956

fix(apis/web/metrics): 修复网关资源宽带占用标签显示问题

fix(apis/web/metrics): 修复网关资源宽带占用标签显示问题 #1956

Workflow file for this run

name: dashboard ci
on:
push:
branches: [ master, pre_*, pre/*, ft_*, release/* ]
paths: ['src/dashboard/**']
pull_request:
branches: [ master, pre_*, pre/*, ft_*, release/* ]
paths: ['src/dashboard/**']
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'src/dashboard/apigateway/requirements_dev.txt'
- name: Install dependencies
run: pip install pip==23.0.1 && pip install -r src/dashboard/apigateway/requirements_dev.txt -i https://pypi.org/simple/
- name: Lint
run: make edition-ee && make lint-check
working-directory: src/dashboard
- name: Aqua Security Trivy
uses: aquasecurity/[email protected]
continue-on-error: true
with:
scan-type: 'fs'
scan-ref: 'src/dashboard'
- name: Test
run: make edition-ee && make test
working-directory: src/dashboard