Skip to content

Commit b344bdd

Browse files
committed
Clean up CI
- Add new Python version - Remove Pi runner until it is ready...
1 parent 74c5700 commit b344bdd

File tree

3 files changed

+61
-61
lines changed

3 files changed

+61
-61
lines changed

.github/workflows/formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.10"]
10+
python-version: ["3.11"]
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/raspberry_pi.yml

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
1-
name: Test on Raspberry Pi
2-
3-
on: [push]
4-
5-
jobs:
6-
build:
7-
runs-on: self-hosted
8-
strategy:
9-
matrix:
10-
python-version: ["3.10", "3.11", "3.12", "3.13"]
11-
steps:
12-
- uses: actions/checkout@v4
13-
14-
- name: Install system dependencies
15-
run: |
16-
sudo apt update
17-
sudo apt install -y libatlas-base-dev \
18-
python3-pip \
19-
python3-venv \
20-
python3-dev \
21-
libffi-dev \
22-
build-essential \
23-
libgl1-mesa-glx \
24-
libsdl2-dev \
25-
libsdl2-image-dev \
26-
libsdl2-mixer-dev \
27-
libsdl2-ttf-dev \
28-
libjpeg-dev \
29-
libpng-dev \
30-
libfreetype6-dev \
31-
libportmidi-dev \
32-
33-
- name: Set up folder
34-
run: |
35-
pwd
36-
rm -rf /tmp/test-${{ matrix.python-version }}
37-
mkdir /tmp/test-${{ matrix.python-version }}
38-
cd /tmp/test-${{ matrix.python-version }}
39-
40-
- name: Set up Python version and virtual environment
41-
run: |
42-
export PYENV_ROOT="$HOME/.pyenv"
43-
export PATH="$PYENV_ROOT/bin:$PATH"
44-
eval "$(pyenv init --path)"
45-
pyenv local ${{ matrix.python-version }}
46-
python -m venv /tmp/test-${{ matrix.python-version }}/.venv
47-
48-
- name: Install project dependencies
49-
run: |
50-
/tmp/test-${{ matrix.python-version }}/.venv/bin/python -m pip install -r requirements.txt
51-
52-
- name: Run all demos to make sure they load
53-
run: |
54-
/tmp/test-${{ matrix.python-version }}/.venv/bin/python main.py test
55-
56-
- name: Clean up code
57-
if: always()
58-
run: |
59-
rm -rf /tmp/test-${{ matrix.python-version }}
1+
# name: Test on Raspberry Pi
2+
3+
# on: [push]
4+
5+
# jobs:
6+
# build:
7+
# runs-on: self-hosted
8+
# strategy:
9+
# matrix:
10+
# python-version: ["3.10", "3.11", "3.12", "3.13"]
11+
# steps:
12+
# - uses: actions/checkout@v4
13+
14+
# - name: Install system dependencies
15+
# run: |
16+
# sudo apt update
17+
# sudo apt install -y libatlas-base-dev \
18+
# python3-pip \
19+
# python3-venv \
20+
# python3-dev \
21+
# libffi-dev \
22+
# build-essential \
23+
# libgl1-mesa-glx \
24+
# libsdl2-dev \
25+
# libsdl2-image-dev \
26+
# libsdl2-mixer-dev \
27+
# libsdl2-ttf-dev \
28+
# libjpeg-dev \
29+
# libpng-dev \
30+
# libfreetype6-dev \
31+
# libportmidi-dev \
32+
33+
# - name: Set up folder
34+
# run: |
35+
# pwd
36+
# rm -rf /tmp/test-${{ matrix.python-version }}
37+
# mkdir /tmp/test-${{ matrix.python-version }}
38+
# cd /tmp/test-${{ matrix.python-version }}
39+
40+
# - name: Set up Python version and virtual environment
41+
# run: |
42+
# export PYENV_ROOT="$HOME/.pyenv"
43+
# export PATH="$PYENV_ROOT/bin:$PATH"
44+
# eval "$(pyenv init --path)"
45+
# pyenv local ${{ matrix.python-version }}
46+
# python -m venv /tmp/test-${{ matrix.python-version }}/.venv
47+
48+
# - name: Install project dependencies
49+
# run: |
50+
# /tmp/test-${{ matrix.python-version }}/.venv/bin/python -m pip install -r requirements.txt
51+
52+
# - name: Run all demos to make sure they load
53+
# run: |
54+
# /tmp/test-${{ matrix.python-version }}/.venv/bin/python main.py test
55+
56+
# - name: Clean up code
57+
# if: always()
58+
# run: |
59+
# rm -rf /tmp/test-${{ matrix.python-version }}

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.10", "3.11", "3.12", "3.13"]
10+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)