mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-17 12:13:58 +03:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
899 B
YAML
38 lines
899 B
YAML
name: Integration tests (minimal)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
integration:
|
|
name: Run integration tests
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
INTEGRATION_TEST: '1'
|
|
# Used by the integration tests to locate ffmpeg reliably.
|
|
FFMPEG_PATH: '/usr/bin/ffmpeg'
|
|
TEST_PLAYLIST_URL: 'https://www.youtube.com/playlist?list=PLUmRr21IDW9WCW87FnbWAbIwwZHbf-lAz'
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: '3.11'
|
|
cache: 'pip'
|
|
|
|
- name: Install ffmpeg
|
|
run: |
|
|
set -euo pipefail
|
|
sudo apt-get update
|
|
sudo apt-get install -y ffmpeg
|
|
|
|
- name: Run integration tests
|
|
run: |
|
|
set -euo pipefail
|
|
python -m pip install -e ".[test]"
|
|
pytest -m integration
|