RAPTOR v18.4: Исправлена отчетность, активированы выходные

This commit is contained in:
root
2026-04-18 23:26:45 +03:00
commit ef0958239e
312 changed files with 54247 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
name: Bump version
on:
push:
branches: [main]
paths:
- "tinkoff/**"
- "!tinkoff/invest/__init__.py"
- "!tinkoff/invest/constants.py"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Git user
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
- name: Install python dependencies
run: make install-poetry install-bump
- name: Bump version
run: make bump-version v=$(make next-version)
- name: Push
run: |
git push
git push --tags

View File

@@ -0,0 +1,49 @@
name: CI Tests/Lints
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install python dependencies
run: make install-poetry install
- name: Run linters
run: make lint
- name: Test docs
run: make docs
- name: Run test
run: make test
env:
INVEST_SANDBOX_TOKEN: ${{ secrets.INVEST_SANDBOX_TOKEN }}
INVEST_TOKEN: ${{ secrets.INVEST_TOKEN }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install make
run: choco install make
- name: Install python dependencies
run: make install-poetry install
- name: Run test
run: make test
env:
INVEST_SANDBOX_TOKEN: ${{ secrets.INVEST_SANDBOX_TOKEN }}

View File

@@ -0,0 +1,16 @@
name: Check PR title
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -0,0 +1,24 @@
name: Github pages
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python dependencies
run: make install-poetry install-docs
- name: Generate docs
run: make docs
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site

View File

@@ -0,0 +1,25 @@
name: Publish to PYPI
on:
push:
tags:
- '*'
release:
types:
- created
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install poetry
run: make install-poetry
- name: Publish package to pypi
run: make publish
env:
pypi_username: ${{ secrets.PYPI_USERNAME }}
pypi_password: ${{ secrets.PYPI_PASSWORD }}