-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This update includes multiple fixes for compatibility and stability, new features for testing and CI, and the deprecation of the EY module. - Update example notebooks - Minor fixes in settings - Fix `strout` in `iv3t` for `numpy > 2.x.x` - Correct `qe` datapath for packaged version - Fix whitespace offset in `strout` for SPICE on macOS - Use stable sorting in `IV3T` - Migrate configuration to `pyproject.toml` - Add unit tests and workflows - Integrate coverage reporting - Disable tandems - Deprecate `EY` module
- Loading branch information
Robert Witteck
committed
Oct 30, 2024
1 parent
c8b2c0f
commit b7dc52f
Showing
67 changed files
with
5,347 additions
and
523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Python Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] # Chose windows-latest, ubuntu-latest, macos-latest. | ||
python-version: ['3.9', '3.10', '3.11', '3.12'] # Test multiple Python versions | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Install | ||
- name: Set up Python and Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip # Ensure pip is up to date | ||
python -m pip install .[test] # Install the package with development dependencies from pyproject.toml | ||
# Lint with Ruff | ||
# - name: Lint with Ruff | ||
# run: | | ||
# ruff check . --statistics | ||
|
||
# Run pyest | ||
- name: Run Tests | ||
run: | | ||
pytest --cov=pvcircuit | ||
# continue-on-error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.