mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-03 23:38:14 +02:00
ci: reuse test workflow in release build
This commit is contained in:
1 parent
15c7c8e514
commit
c6a98d30a5
2 files changed
+5
-17
No files matched your search
@@ -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,6 +1,7 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
|
||||
Reference in new issue
Block a user