use python3/pip3 in CI workflow

This commit is contained in:
Jarian Cottingham 2026-07-04 17:03:57 +00:00
parent c1e3f47caf
commit f2f734c221

View File

@ -1,7 +1,6 @@
name: CI
on:
# 2026-07-04 retry
push:
branches: [main, master]
pull_request:
@ -13,9 +12,9 @@ jobs:
steps:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy
pip install -e ".[dev]"
python3 -m pip install --upgrade pip
pip3 install ruff mypy
pip3 install -e ".[dev]"
- name: Run ruff
run: ruff check .
@ -28,12 +27,12 @@ jobs:
steps:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install -r requirements-api.txt
python3 -m pip install --upgrade pip
pip3 install -e ".[dev]"
pip3 install -r requirements-api.txt
- name: Run pytest
run: python -m pytest tests/ web/server/tests/ -v --tb=short
run: python3 -m pytest tests/ web/server/tests/ -v --tb=short
docker-build:
runs-on: ubuntu-latest
@ -47,7 +46,7 @@ jobs:
steps:
- name: Run bandit (Python SAST)
run: |
pip install bandit
pip3 install bandit
bandit -r youtube_cli/ youtube_tui/ web/server/ -ll
build-result: