Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
296 changes: 0 additions & 296 deletions .gitchangelog.rc

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/pydocstyle.yml

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand All @@ -25,9 +25,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f test/requirements.txt ]; then pip install -r test/requirements.txt; fi
pip install .
pip install .[dev]
python3 -c "import electricpy; print('electricpy.__file__')"
- name: Test with pytest
run: |
pytest --xdoctest
pytest --pydocstyle --xdoctest
6 changes: 2 additions & 4 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,21 @@ jobs:
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
python-version: "3.12"
# I don't know where the "run" thing is documented.
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cp logo/ElectricpyLogo.svg docsource/static/ElectricpyLogo.svg
pip install -r docsource/requirements.txt
- name: Build Sphinx docs
if: success()
run: |
pip install .
pip install .[dev]
python3 -c "import electricpy; print('electricpy.__file__')"
sphinx-build -M html docsource docs
- name: Generate Coverage Badge
if: success()
run: |
pip install -r test/requirements.txt
coverage run --source=./electricpy -m pytest
coverage-badge -o docs/html/coverage.svg

Expand Down
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
"editor.rulers": [
80, 120
],
"cSpell.words": [
"electricpy",
"epmath",
"fsolve",
"matplotlib",
"parallelz",
"phasor",
"phasorlist",
"phasorplot",
"phasors",
"powerset",
"pyplot",
"scipy",
"visu"
],
"python.testing.pytestArgs": [
"-m",
"test"
Expand Down
Loading
Loading