-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.08 KB
/
on_push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Name of your workflow
name: Aruduino Build on push workflow
# Define the trigger events.
on: [push, check_run]
# Jobs run in parallel be default, each runs steps in sequence
jobs:
# Build the ATMEGA-320P
compile-sketch:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: arduino/[email protected]
with:
fqbn: arduino:avr:uno
verbose: true
sketch-paths: arduino/epaper_display
libraries: |
- name: SD
- name: LowPower_LowPowerLab
- name: Arduino_builtin
# Test the python image transformation code
test-convert-images:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
- name: Display Python version
run: |
export PYTHONPATH="$PWD"/convert_images
echo $PYTHONPATH
cd tests
python -c "import sys; print(sys.version)"
python -m pip install --upgrade pip
pip install Pillow
python run_tests.py