ci: add combined test workflow

This commit is contained in:
dark_zoul committed 2026-10-19 23:33:34 +03:00
1 parent 99bbefce9c
commit 758dcf5080
3 files changed
+38 -26

No files matched your search

+3 -13
View File
@@ -1,18 +1,8 @@
name: Lint Python code
name: Lint
on:
push:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
pull_request:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
workflow_call:
workflow_dispatch:
jobs:
lint:
+33
View File
@@ -0,0 +1,33 @@
name: Test
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
pull_request:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
uses: ./.github/workflows/lint_ruff.yml
permissions:
contents: read
unit-tests:
name: Unit tests
uses: ./.github/workflows/unit-tests.yml
permissions:
contents: read
+2 -13
View File
@@ -1,19 +1,8 @@
name: Unit tests
name: Unit Tests
on:
workflow_call:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
pull_request:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}