Skip to content

Commit 54abf63

Browse files
authored
Merge pull request #5 from oscript-library/feature/ga
2 parents 69cf7d4 + 0566073 commit 54abf63

File tree

16 files changed

+117
-236
lines changed

16 files changed

+117
-236
lines changed

.github/workflows/qa.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Контроль качества
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
sonar:
10+
uses: autumn-library/workflows/.github/workflows/sonar.yml@v1
11+
with:
12+
github_repository: oscript-library/xml-parser
13+
coveralls: true
14+
secrets:
15+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Публикация релиза
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
workflow_dispatch:
8+
9+
jobs:
10+
release:
11+
uses: autumn-library/workflows/.github/workflows/release.yml@v1
12+
with:
13+
package_mask: "xml-parser-*.ospx"
14+
secrets:
15+
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}

.github/workflows/test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Тестирование
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
uses: autumn-library/workflows/.github/workflows/test.yml@v1

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ bdd-log*.xml
22
bin/*
33
tests.xml
44
*.ospx
5-
6-
coverage/*
5+
oscript_modules/
6+
.bsl-ls-cache/
7+
out/*

.travis.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
8+
{
9+
"name": "Отладка 1Script",
10+
"type": "oscript",
11+
"request": "launch",
12+
"program": "${file}",
13+
"args": [],
14+
"cwd": "${workspaceRoot}",
15+
"env": {},
16+
"runtimeExecutable": "/home/nfedkin/.local/share/ovm/current/bin/oscript",
17+
"runtimeArgs": [],
18+
"debugPort": 2801
19+
}
20+
]
21+
}

features/build.feature

Lines changed: 0 additions & 25 deletions
This file was deleted.

packagedef

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,21 @@
88
.Автор("Khorev Aleksey")
99
.АдресАвтора("Khorevaa@gmail.com")
1010
.Описание("Библиотека для cериализации данных в xml")
11-
.ВерсияСреды("1.0.20")
11+
.ВерсияСреды("1.9.3")
1212
.ВключитьФайл("src")
1313
.ВключитьФайл("docs")
14+
.ВключитьФайл("README.md")
15+
.ВключитьФайл("LICENSE")
16+
.ВключитьФайл("tests")
17+
1418
.ЗависитОт("logos")
19+
20+
.РазработкаЗависитОт("1bdd")
21+
.РазработкаЗависитОт("1testrunner")
22+
.РазработкаЗависитОт("asserts")
23+
.РазработкаЗависитОт("json")
24+
.РазработкаЗависитОт("coverage")
25+
.РазработкаЗависитОт("fs")
26+
1527
.ОпределяетКласс("СериализацияДанныхXML", "src/Классы/СериализацияДанныхXML.os")
1628
;

sonar-project.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# must be unique in a given SonarQube instance
2-
sonar.projectKey=opensource-oscript-xml-parser
3-
sonar.organization=sonar-opensource-add
2+
sonar.projectKey=xml-parser
43

54
# this is the name displayed in the SonarQube UI
65
sonar.projectName=XML parser tool for OScript
@@ -15,4 +14,5 @@ sonar.sources=./src
1514
# Encoding of the source code. Default is default system encoding
1615
sonar.sourceEncoding=UTF-8
1716

18-
sonar.coverageReportPaths=coverage/genericCoverage.xml
17+
sonar.coverageReportPaths=out/genericCoverage.xml
18+
#sonar.testExecutionReportPaths=out/genericExecution.xml

sonar-qube.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)