This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
build(deps): bump actions/checkout from 3 to 4 #150
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Python Tests | |
on: | |
pull_request: | |
branches: [master, nightly] | |
types: [opened, synchronize, reopened] | |
jobs: | |
pytest: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: LizardByte/.github/actions/setup_python2@nightly | |
- name: Install python dependencies | |
shell: bash | |
run: | | |
# requests is required to install python-plexapi | |
python -m pip --no-python-version-warning --disable-pip-version-check install --upgrade \ | |
pip setuptools requests | |
python -m pip --no-python-version-warning --disable-pip-version-check install -r requirements-dev.txt | |
python -m pip --no-python-version-warning --disable-pip-version-check install \ | |
--target=./Contents/Libraries/Shared -r requirements.txt --no-warn-script-location | |
- name: Build plist | |
shell: bash | |
run: | | |
python ./scripts/build_plist.py | |
- name: Test with pytest | |
shell: bash # our Python 2.7 setup action doesn't support PowerShell | |
run: | | |
python -m pytest -v |