Skip to content

Commit 0e7319c

Browse files
committed
CI: Attempt to run installer.
1 parent addcba5 commit 0e7319c

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

.github/workflows/install.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Install Test
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
test:
11+
name: Python ${{ matrix.python }}
12+
runs-on: ubuntu-latest
13+
env:
14+
TERM: xterm-256color
15+
strategy:
16+
matrix:
17+
python: ['3.9', '3.10', '3.11']
18+
19+
steps:
20+
- name: Checkout Code
21+
uses: actions/checkout@v3
22+
23+
- name: Set up Python ${{ matrix.python }}
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ matrix.python }}
27+
28+
- name: Stub files & Patch install.sh
29+
run: |
30+
mkdir -p boot/firmware
31+
touch boot/firmware/config.txt
32+
sed -i "s|/boot/firmware|`pwd`/boot/firmware|g" install.sh
33+
touch raspi-config
34+
chmod +x raspi-config
35+
echo `pwd` >> $GITHUB_PATH
36+
37+
- name: Run Tests
38+
run: |
39+
./install.sh --unstable --force

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ ignore = [
112112
]
113113

114114
[tool.pimoroni]
115-
apt_packages = ["git"]
115+
apt_packages = []
116116
configtxt = []
117-
commands = ["false"]
117+
commands = []

0 commit comments

Comments
 (0)