Changed saturation to 2.5 to brighten images. #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name of your workflow | |
name: Test Building ATMEGA-320P binary and image process code 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 | |