Inkycal/.github/workflows/tests.yml

30 lines
611 B
YAML
Raw Normal View History

2020-06-17 14:54:48 +02:00
name: Python application
2020-05-16 08:22:57 +02:00
2020-06-17 14:54:48 +02:00
on: [push]
2020-05-16 08:22:57 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2020-06-17 14:54:48 +02:00
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
2020-05-16 08:22:57 +02:00
with:
2020-06-17 14:54:48 +02:00
python-version: 3.7
- name: Clone repo
2020-05-16 08:22:57 +02:00
run: |
2020-11-30 12:52:45 +01:00
git clone -b release/2.0.0 https://github.com/aceisace/Inky-Calendar Inkycal
2020-06-17 14:54:48 +02:00
- name: Install dependencies and run
2020-05-16 08:22:57 +02:00
run: |
2020-06-17 14:54:48 +02:00
python -m pip install --upgrade pip
cd Inkycal
pip3 install -e ./
cd inkycal/modules && ls -al
cd ..
cd tests
for f in *.py; do python3 "$f"; done