use python3/pip3 in CI workflow
This commit is contained in:
parent
c1e3f47caf
commit
f2f734c221
@ -1,7 +1,6 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# 2026-07-04 retry
|
|
||||||
push:
|
push:
|
||||||
branches: [main, master]
|
branches: [main, master]
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -13,9 +12,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip install ruff mypy
|
pip3 install ruff mypy
|
||||||
pip install -e ".[dev]"
|
pip3 install -e ".[dev]"
|
||||||
|
|
||||||
- name: Run ruff
|
- name: Run ruff
|
||||||
run: ruff check .
|
run: ruff check .
|
||||||
@ -28,12 +27,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
pip3 install -e ".[dev]"
|
||||||
pip install -r requirements-api.txt
|
pip3 install -r requirements-api.txt
|
||||||
|
|
||||||
- name: Run pytest
|
- 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:
|
docker-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -47,7 +46,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Run bandit (Python SAST)
|
- name: Run bandit (Python SAST)
|
||||||
run: |
|
run: |
|
||||||
pip install bandit
|
pip3 install bandit
|
||||||
bandit -r youtube_cli/ youtube_tui/ web/server/ -ll
|
bandit -r youtube_cli/ youtube_tui/ web/server/ -ll
|
||||||
|
|
||||||
build-result:
|
build-result:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user