Skip to content

tempo remove submodule #5

tempo remove submodule

tempo remove submodule #5

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with single version of Python
name: build
on:
push:
branches:
- main
- master
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo pip install pygame
pip install -e .[deploy]
- name: Lint with flake8
run: |
pip install flake8
# Stop the build if there are python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# Exit-Zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml