From 9ba25c90dffbd6380a750d81bb70c0d58beffaab Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 16 Jun 2020 23:20:41 +0200 Subject: [PATCH] trying to fix tests --- .github/workflows/pythonapp.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index a49ab69..3b7d0b9 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -16,16 +16,16 @@ jobs: - name: Clone repo run: | - git clone https://github.com/aceisace/Inky-Calendar + git clone -b dev_ver2_0 https://github.com/aceisace/Inky-Calendar Inkycal - name: Install dependencies and run run: | python -m pip install --upgrade pip - cd Inky-Calendar && pip3 install -r requirements.txt - ln -s settings/settings.py modules/ - ln -s settings/configuration.py modules/ - ls -al - cd modules && ls -al - python3 inkycal.py + cd Inkycal + pip3 install -e ./ + cd inkycal/modules && ls -al + cd .. + cd tests + for f in *.py; do python3 "$f"; done - name: Test with pytest run: | pytest