Skip to content

Format code with black #4

Format code with black

Format code with black #4

Workflow file for this run

name: Run Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.9']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements_dev.txt
python -m pip install openseespy
python -m pip install -e .
- name: flake8
run: flake8 src
- name: Unit tests
run: python -m pytest --doctest-modules src/osmg/