/
githubmirror
/
traefik
Обзор
Документация
Войти
/
githubmirror
/
traefik
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/test-unit.yaml
71 строка
2 KB
romain
Merge branch v3.6 into v3.7
09 июл 2026, 18:25
09 июл 2026, 18:25
304bdfe
Код
Авторство
О чём код?
name: Test Unit on: push: branches: - master - v* pull_request: branches: - '*' paths-ignore: - 'docs/**' - '**.md' - 'script/release/**' permissions: contents: read jobs: test-unit: name: Unit tests runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: persist-credentials: false - name: Set up Go uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version-file: '.go-version' check-latest: true - name: Run unit tests run: go test -parallel 8 ./cmd/... ./pkg/... test-ui-unit: runs-on: ubuntu-latest timeout-minutes: 15 steps: - name: Check out code uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: persist-credentials: false - name: Enable corepack run: corepack enable - name: Set up Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version-file: webui/.nvmrc cache: 'yarn' cache-dependency-path: webui/yarn.lock - name: Setup safe-chain run: | npm i -g @aikidosec/safe-chain safe-chain setup-ci - name: UI unit tests working-directory: ./webui env: VITE_APP_BASE_API_URL: "/api" run: | yarn install yarn test:unit:ci