mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-18 20:43:54 +03:00
refactor: change project name;
ci: fix integration workflow
This commit is contained in:
@@ -200,8 +200,8 @@ jobs:
|
||||
- name: Set docker image names
|
||||
run: |
|
||||
VERSION="${{ steps.version.outputs.version }}"
|
||||
echo "RELEASE_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytplst:${VERSION}" >> $GITHUB_ENV
|
||||
echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytplst:latest" >> $GITHUB_ENV
|
||||
echo "RELEASE_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpl-Sync:${VERSION}" >> $GITHUB_ENV
|
||||
echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpl-Sync:latest" >> $GITHUB_ENV
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
@@ -248,9 +248,9 @@ jobs:
|
||||
- name: Push Docker images
|
||||
run: |
|
||||
docker load -i "${{ github.workspace }}/artifacts/docker-images/docker-image.tar"
|
||||
docker push ghcr.io/${GITHUB_ACTOR}/ytplst:${{ steps.version.outputs.version }}
|
||||
docker push ghcr.io/${GITHUB_ACTOR}/ytpl-Sync:${{ steps.version.outputs.version }}
|
||||
docker load -i "${{ github.workspace }}/artifacts/docker-images/docker-image-latest.tar"
|
||||
docker push ghcr.io/${GITHUB_ACTOR}/ytplst:latest
|
||||
docker push ghcr.io/${GITHUB_ACTOR}/ytpl-Sync:latest
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v3
|
||||
|
||||
@@ -38,5 +38,5 @@ jobs:
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python -m pip install -e .
|
||||
python -m pip install -e . ".[test]"
|
||||
pytest -m integration
|
||||
|
||||
+4
-4
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "ytplst"
|
||||
name = "ytpl-Sync"
|
||||
version = "1.1.1"
|
||||
description = "YouTube playlist Sync Thing"
|
||||
readme = "README.md"
|
||||
@@ -18,7 +18,7 @@ dependencies = [
|
||||
gui = [
|
||||
"PySide6"
|
||||
]
|
||||
dev = [
|
||||
test = [
|
||||
"pytest",
|
||||
"ruff",
|
||||
"black"
|
||||
@@ -28,11 +28,11 @@ dev = [
|
||||
Home = "https://github.com/darkzoul5/YoutubePlaylistSyncThing"
|
||||
|
||||
[project.scripts]
|
||||
ytplst = "ytplst.main:main"
|
||||
ytpl-Sync = "ytpl-Sync.main:main"
|
||||
|
||||
[tool.setuptools]
|
||||
package-dir = {"" = "src"}
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
include = ["ytplst*"]
|
||||
include = ["ytpl-Sync*"]
|
||||
Reference in New Issue
Block a user