From 171fa9d7a9d70c6f820bbaffb2d04452fb14d6a8 Mon Sep 17 00:00:00 2001
From: Michael Shulman
Date: Fri, 8 May 2020 09:53:03 -0700
Subject: [PATCH 1/2] Update README (#86)
Clarify when to boot device. Fix typo
---
README.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 2507e72..6be50f2 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,8 @@ This software is in active development. To see the current development status, [
# Setup
## Getting the Raspberry Pi Zero W ready
1. After [flashing Raspbian Buster (with Desktop)](https://www.raspberrypi.org/downloads/raspbian/), set up Wifi on the Raspberry Pi Zero W by copying the file [**wpa_supplicant.conf**](https://github.com/aceisace/Inky-Calendar/blob/installer/wpa_supplicant.conf) (from above) to the /boot directory and adding your Wifi details in that file.
-2. Create a simple text document named **ssh** in the boot directory to enable ssh.
+2. Create a simple text document named **ssh** in the boot directory to enable ssh.
+3. Install the SD card and boot your Raspberry Pi. Connect to it over the network with ssh and login.
3. Expand the filesystem in the Terminal with **`sudo raspi-config --expand-rootfs`**
4. Enable SPI by entering **`sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt`** in the Terminal
5. Set the correct timezone with **`sudo dpkg-reconfigure tzdata`**, selecting the correct continent and then the capital of your country.
@@ -74,7 +75,7 @@ If the Installer should fail for any reason, kindly open an issue and paste the
-## Adding details to the programm
+## Adding details to the program
When you run the installer, you can add details in the last step. For new-users, it is recommended to use the 'web-UI' option.
You can also manually edit the settings file like this: `nano /home/$USER/Inky-Calendar/settings/settings.py`
From 522c60bc211e43df2b42083f80a4c7faf7931630 Mon Sep 17 00:00:00 2001
From: Robert Sirre
Date: Sat, 16 May 2020 08:22:57 +0200
Subject: [PATCH 2/2] trying to get tests to work
---
.github/workflows/tests.yml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 .github/workflows/tests.yml
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 0000000..bafb90e
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,36 @@
+# This workflow will install Python dependencies, run tests and lint with a single version of Python
+# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
+
+name: Python tests
+
+on:
+ push:
+ # branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python 3.8
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.8
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install flake8 pytest
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+# - name: Lint with flake8
+# run: |
+# # stop the build if there are Python syntax errors or undefined names
+# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
+# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
+# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
+ - name: Test with pytest
+ run: |
+ pytest