Skip to content

Commit

Permalink
Добавлено тестирование и релизы через GA
Browse files Browse the repository at this point in the history
  • Loading branch information
sfaqer committed Jan 5, 2025
1 parent e1315a1 commit 2bda748
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Публикация релиза

on:
release:
types:
- published
workflow_dispatch:

jobs:
release:
uses: autumn-library/workflows/.github/workflows/release.yml@main
with:
package_mask: "coverage-*.ospx"
secrets:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Тестирование

on:
push:
pull_request:
workflow_dispatch:

jobs:
test:
strategy:
fail-fast: false
matrix:
oscript_version: ['dev', 'lts-dev', 'default']
uses: autumn-library/workflows/.github/workflows/test.yml@main
with:
oscript_version: ${{ matrix.oscript_version }}
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
test*.xml
*.ospx


coverage/*

.vscode/*
.vscode/*
oscript_modules/
3 changes: 3 additions & 0 deletions packagedef
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
.ЗависитОт("logos")
.ЗависитОт("json")
.ЗависитОт("asserts")

.РазработкаЗависитОт("1bdd")
.РазработкаЗависитОт("1testrunner")

.ОпределяетКласс("ГенераторОтчетаПокрытия", "src/core/Классы/ГенераторОтчетаПокрытия.os")
.ОпределяетКласс("ГенераторОтчетаGenericCoverage", "src/core/Классы/ГенераторОтчетаGenericCoverage.os")
Expand Down
1 change: 1 addition & 0 deletions tasks/oscript.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib.system=../oscript_modules

0 comments on commit 2bda748

Please sign in to comment.