1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-04 04:53:58 +03:00
Files
YoutubePlaylistSync/.github/workflows/integration.yml
T
dependabot[bot] ef57b2e79e Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-11 15:09:43 +00:00

46 lines
1.3 KiB
YAML

name: Integration tests (minimal)
on:
workflow_dispatch:
#push:
#branches: [ main, Next ]
#pull_request:
#branches: [ main, Next ]
jobs:
integration:
name: Run integration tests
runs-on: ubuntu-latest
env:
INTEGRATION_TEST: '1'
TEST_PLAYLIST_URL: 'https://www.youtube.com/playlist?list=PLUmRr21IDW9WCW87FnbWAbIwwZHbf-lAz'
steps:
- name: Checkout repository
uses: actions/checkout@v6
- 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
# Install project in editable mode. If the 'test' extra exists, prefer it.
python -m pip install -e .[test] || python -m pip install -e .
python -m pip install pytest
- name: Run integration script directly
env:
YTPL_DEBUG: '1'
run: |
set -euo pipefail
. .venv/bin/activate
python tests/integration_full_workflow_test.py