Skip to content

run black

run black #167

Workflow file for this run

name: RedBeat CI
on:
push:
branches:
- main
tags:
pull_request:
jobs:
build:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest ] #, windows-latest] tests fail on windows
python-version: ['3.8', '3.9', '3.10', '3.11']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run unittests
run: make unittests
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
pip install flake8 flake8-black flake8-isort
- name: Run linter
run: make lint