twitch-dl/.github/workflows/test.yml

28 lines
670 B
YAML
Raw Normal View History

2024-04-24 06:10:08 +00:00
name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
2024-04-24 12:50:50 +00:00
- uses: actions/checkout@v4
2024-04-24 06:10:08 +00:00
- name: Set up Python ${{ matrix.python-version }}
2024-04-24 12:52:42 +00:00
uses: actions/setup-python@v5
2024-04-24 06:10:08 +00:00
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Run tests
run: |
pytest
- name: Validate minimum required version
run: |
vermin --no-tips twitchdl