Skip to content

Commit 9c16c98

Browse files
committed
удалил сонар
1 parent 57ee45f commit 9c16c98

File tree

2 files changed

+36
-9
lines changed

2 files changed

+36
-9
lines changed

.github/workflows/pyci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,4 @@ jobs:
2424
- name: Run test coverage
2525
run: |
2626
make test-coverage
27-
- name: SonarQubeScan
28-
uses: SonarSource/sonarqube-scan-action@v6
29-
env:
30-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
31-
with:
32-
args: >
33-
-Dsonar.projectKey=DenisShutov_python-package
34-
-Dsonar.organization=denisshutov
35-
-Dsonar.python.coverage.reportPaths=coverage.xml
27+

.github/workflows/pyci.yml.backup

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Python CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Set up Python
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.12'
16+
# make depends on uv
17+
- name: Install dependencies
18+
run: |
19+
pip install uv
20+
make install
21+
- name: Run linter and pytest
22+
run: |
23+
make check
24+
- name: Run test coverage
25+
run: |
26+
make test-coverage
27+
- name: SonarQubeScan
28+
uses: SonarSource/sonarqube-scan-action@v6
29+
env:
30+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
31+
with:
32+
args: >
33+
-Dsonar.projectKey=DenisShutov_python-package
34+
-Dsonar.organization=denisshutov
35+
-Dsonar.python.coverage.reportPaths=coverage.xml

0 commit comments

Comments
 (0)