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