ci: reuse test workflow in release build

This commit is contained in:
dark_zoul committed 2026-10-19 23:50:03 +03:00
1 parent 15c7c8e514
commit c6a98d30a5
2 files changed
+5 -17

No files matched your search

+4 -17
View File
@@ -68,23 +68,10 @@ jobs:
git push origin "${TAG}"
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: "pip"
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" || pip install -e .
pip install pytest
- name: Run tests
env:
PYTHONPATH: ${{ github.workspace }}/src
run: pytest
name: Test
uses: ./.github/workflows/test.yml
permissions:
contents: read
build:
name: Build packages
+1
View File
@@ -1,6 +1,7 @@
name: Test
on:
workflow_call:
workflow_dispatch:
push:
branches: