Skip to content

Commit

Permalink
readme to rst, update python-package ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeliza committed Feb 1, 2024
1 parent 52b4550 commit f4b6d10
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 198 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,23 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
platform: [macos-latest, ubuntu-latest]
python-version: ["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@v3
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
pip install -r requirements.txt
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
# 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
python -m pip install --upgrade pip setuptools wheel
pip install -e .[test]
- name: Test with pytest
run: |
pytest -v
178 changes: 0 additions & 178 deletions README.md

This file was deleted.

Loading

0 comments on commit f4b6d10

Please sign in to comment.