mirror of
https://github.com/ITotalJustice/sphaira.git
synced 2025-11-03 01:16:08 +01:00
34 lines
778 B
YAML
34 lines
778 B
YAML
name: USB Install Python Tests
|
|
|
|
on:
|
|
push:
|
|
paths: &python_usb_install_paths
|
|
- 'tools/test_usb_install.py'
|
|
- 'tools/usb_install.py'
|
|
- 'tools/usb_common.py'
|
|
- 'tools/requirements.txt'
|
|
- '.github/workflows/python-usb-install.yml'
|
|
pull_request:
|
|
paths: *python_usb_install_paths
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python 3.11
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r tools/requirements.txt
|
|
|
|
- name: Run tests
|
|
run: |
|
|
python3 tools/test_usb_install.py
|