Inkycal/.github/workflows/pythonapp.yml

32 lines
664 B
YAML
Raw Normal View History

name: Python application
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Clone repo
run: |
2020-06-16 23:20:41 +02:00
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
2020-06-16 23:20:41 +02:00
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