Skip to content

Commit 2e301d9

Browse files
committed
fix workflows
1 parent 503a26e commit 2e301d9

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/qa.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# All rights reserved.
44

55
name: Контроль качества
6-
# Любой пуш и pr в проекте но с фильтром по основному проекту
6+
77
on: [push, pull_request]
88
jobs:
99
build:
@@ -16,7 +16,6 @@ jobs:
1616
oscript_version: ['1.9.2']
1717

1818
steps:
19-
# Загрузка проекта
2019
- name: Актуализация
2120
uses: actions/[email protected]
2221

@@ -26,19 +25,19 @@ jobs:
2625
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2726
id: extract_branch
2827

29-
# Установка OneScript конкретной версии
3028
- name: Установка OneScript
3129
uses: otymko/[email protected]
3230
with:
3331
version: ${{ matrix.oscript_version }}
3432

35-
# Установка зависимостей пакета
3633
- name: Установка зависимостей
3734
run: |
3835
opm install opm
3936
opm install --dev
4037
41-
# Запуск тестов и сбор покрытия кода
38+
- name: Установка gitsync локально
39+
run: opm run install-gitsync
40+
4241
- name: Покрытие кода
4342
run: oscript ./tasks/coverage.os true
4443

@@ -50,7 +49,6 @@ jobs:
5049
- name: Установка Sonar-scanner
5150
uses: warchant/setup-sonar-scanner@v7
5251

53-
# Анализ проекта в SonarQube (ветка)
5452
- name: Анализ в SonarQube (branch)
5553
if: github.event_name == 'push'
5654
run: sonar-scanner
@@ -59,7 +57,6 @@ jobs:
5957
-Dsonar.branch.name=${{ steps.extract_branch.outputs.branch }}
6058
-Dsonar.projectVersion=${{ steps.extract_version.outputs.version }}
6159

62-
# Анализ проекта в SonarQube (PR)
6360
# https://docs.sonarqube.org/latest/analysis/pull-request/
6461
- name: Анализ в SonarQube (pull-request)
6562
if: github.event_name == 'pull_request'

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ jobs:
130130
env:
131131
ONEC_LICENCE: ${{ secrets.ONEC_LICENCE }}
132132

133-
- name: Сборка пакета
134-
run: opm build
133+
- name: Установка gitsync локально
134+
run: opm run install-gitsync
135135

136136
- name: Тестирование
137137
uses: coactions/setup-xvfb@v1

0 commit comments

Comments
 (0)