Skip to content

Commit dd24202

Browse files
Merge pull request #309 from AndreWohnsland/dev
fix for ubuntu runner not possible install rpi-gpio
2 parents 6634a15 + b09f44c commit dd24202

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/code-check.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
name: Code Check
2-
on: [pull_request]
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
env:
8+
CC: gcc
9+
CXX: g++
10+
311
jobs:
412
ruff:
5-
runs-on: raspberry
13+
runs-on: ubuntu-latest
614
steps:
715
- name: ⤵️ Check out code from GitHub
816
uses: actions/checkout@v4
917
- name: Install the latest version of uv
1018
uses: astral-sh/setup-uv@v5
1119
- name: 🔍 Lint with ruff
1220
run: uv run --all-extras ruff check src
21+
1322
mypy:
1423
runs-on: ubuntu-latest
1524
steps:
@@ -25,7 +34,7 @@ jobs:
2534
pip install pyqt5==5.15.7 pyqt5-qt5==5.15.2
2635
mypy src
2736
pytest:
28-
runs-on: raspberry
37+
runs-on: ubuntu-latest
2938
steps:
3039
- name: ⤵️ Check out code from GitHub
3140
uses: actions/checkout@v4

.github/workflows/test-release-run.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
name: Smoke Test the setup script on the runner
2+
23
on:
34
push:
45
branches:
56
- master
67
workflow_dispatch:
8+
9+
env:
10+
CC: gcc
11+
CXX: g++
12+
713
jobs:
814
install-CocktailBerry:
915
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)