Skip to content

Commit b86f686

Browse files
authoredSep 11, 2024
Merge pull request #182 from pimoroni/gpiod
Port to gpiod for Bookworm/Pi 5 and beyond
2 parents 6162b5f + 85e868b commit b86f686

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1668
-1504
lines changed
 

‎library/.coveragerc ‎.coveragerc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source = inky
33
omit =
44
.tox/*
55
relative_files = True
6-
data_file = ../.coverage
6+
data_file = .coverage

‎.github/workflows/build.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
test:
11+
name: Build (Python ${{ matrix.python }})
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python: ['3.9', '3.10', '3.11']
16+
17+
env:
18+
RELEASE_FILE: ${{ github.event.repository.name }}-${{ github.event.release.tag_name || github.sha }}-py${{ matrix.python }}
19+
TERM: xterm-256color
20+
21+
steps:
22+
- name: Checkout Code
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Python ${{ matrix.python }}
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: ${{ matrix.python }}
29+
30+
- name: Install Dependencies
31+
run: |
32+
make dev-deps
33+
34+
- name: Build Packages
35+
run: |
36+
make build
37+
38+
- name: Upload Packages
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: ${{ env.RELEASE_FILE }}
42+
path: dist/

0 commit comments

Comments
 (0)