From 8a39fcd0e6998374e45a8a04f63659fbc7e86a9e Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 11 Nov 2021 13:35:21 +0100 Subject: [PATCH] Create main.yml add workflow for hotfix branch --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..afd1b77 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Python application + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.9.8 + uses: actions/setup-python@v1 + with: + python-version: 3.9.8 + + - name: Clone repo + run: | + git clone https://github.com/aceisace/Inkycal -b hotfix/feedparser-dependency + - name: Install dependencies and run + run: | + 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