Skip to content

Commit

Permalink
README to rst, update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeliza committed Jan 16, 2024
1 parent 9fcb052 commit 7d0c755
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 143 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,23 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest respx
pip install -e .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics nbank test
# 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 nbank test
python -m pip install --upgrade pip setuptools wheel
pip install -e .[test]
- name: Test with pytest
run: |
pytest -v
128 changes: 0 additions & 128 deletions README.md

This file was deleted.

Loading

0 comments on commit 7d0c755

Please sign in to comment.