Skip to content

tweaked github actions and added beirut information page #43

tweaked github actions and added beirut information page

tweaked github actions and added beirut information page #43

name: run tests
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up venv
run: |
pip install --upgrade pip
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8 importlib_metadata
# stop the build if there are Python syntax errors or undefined names
flake8 meteor --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 meteor --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with unittest
run: |
python -m unittest