Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a01c4b472
|
||
|
|
9271fa47bc
|
+10
-19
@@ -1,15 +1,15 @@
|
||||
name: Python
|
||||
|
||||
env:
|
||||
APK_DEPS: py3-pillow py3-gi py3-cairo py3-dbus py3-udev py3-psutil py3-evdev py3-yaml py3-xlib py3-typing-extensions gtk+3.0
|
||||
APT_DEPS: git python3 python3-pip python3-venv python3-gi python3-cairo python3-dbus python3-pyudev python3-psutil python3-evdev python3-yaml python3-xlib python3-pillow gir1.2-gtk-3.0
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
static:
|
||||
runs-on: alpine
|
||||
container: node:26-alpine
|
||||
runs-on: debian
|
||||
container: python:3.13-slim
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -17,10 +17,8 @@ jobs:
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
apk add --no-cache \
|
||||
git \
|
||||
python3 \
|
||||
py3-pip
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends git python3 python3-pip python3-venv
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install --no-cache-dir ruff
|
||||
@@ -37,8 +35,8 @@ jobs:
|
||||
|
||||
verify:
|
||||
if: always()
|
||||
runs-on: alpine
|
||||
container: node:26-alpine
|
||||
runs-on: debian
|
||||
container: python:3.13-slim
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -46,15 +44,8 @@ jobs:
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
apk add --no-cache \
|
||||
git \
|
||||
python3 \
|
||||
py3-pip \
|
||||
$APK_DEPS \
|
||||
build-base \
|
||||
python3-dev \
|
||||
gcc \
|
||||
g++
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends $APT_DEPS build-essential python3-dev
|
||||
python3 -m venv --system-site-packages .venv
|
||||
. .venv/bin/activate
|
||||
pip install --no-cache-dir basedpyright nuitka .
|
||||
@@ -73,4 +64,4 @@ jobs:
|
||||
- name: Nuitka module check
|
||||
run: |
|
||||
. .venv/bin/activate
|
||||
nuitka --module --include-package=zshell cli/src/zshell/
|
||||
nuitka --module --include-package=zshell cli/src/zshell/
|
||||
Reference in New Issue
Block a user