mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-05 07:55:12 +02:00
refactor/ci
This commit is contained in:
1 parent
7a5db21f47
commit
17c2df3640
1 file changed
+2
-18
@@ -28,30 +28,14 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
|
|
||||||
- name: Install system deps
|
- name: Install ffmpeg
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y ffmpeg
|
sudo apt-get install -y ffmpeg
|
||||||
|
|
||||||
- name: Make bundled linux binaries executable (if present)
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
if [ -d ./bin/linux ]; then
|
|
||||||
chmod +x ./bin/linux/* || true
|
|
||||||
ls -l ./bin/linux || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Create venv and install project
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
python3 -m venv .venv
|
|
||||||
. .venv/bin/activate
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
python -m pip install -e .[dev] || python -m pip install -e .
|
|
||||||
|
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
. .venv/bin/activate
|
python -m pip install -e .
|
||||||
pytest -m integration
|
pytest -m integration
|
||||||
Reference in new issue
Block a user