Skip to content

Commit

Permalink
feat: add derating criteria for fuse, relay, resistor, and switch (#1051
Browse files Browse the repository at this point in the history
)

* build: add step to add status:close label on PR close

* feat: add SD-18 derating criteria to config file

* build: update dependency versions

* refactor: create package for derating analysis

* feat: add IC derating model and tests

* feat: add semiconductor derating model and tests

* feat: add capacitor derating model and tests

* feat: add connection derating model and tests

* feat: add indcutor derating model and tests

* feat: add lamp derating model and tests

* feat: add relay derating model and tests

* feat: add resistor derating model and tests

* feat: add switch derating model and tests

* test: rename derating tests to avoid import mismatch

* test: update derating tests to call proper function

* test: update design electric record tests

* test: update hardware BoM view tests

* test: update conftest.py to use f-strings

* test: add tests for coverage

* style: add/upate stub files

* test: update failing test

* style: fix code smells
  • Loading branch information
weibullguy authored Apr 14, 2022
1 parent 109a0af commit 56ba6ab
Show file tree
Hide file tree
Showing 54 changed files with 5,503 additions and 1,279 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/on-pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ on:
- closed

jobs:
label_pr_closed:
runs-on: ubuntu-latest
steps:
- name: Add in progress label
uses: andymckay/labeler@master
with:
add-labels: "status: closed"
remove-labels: "status: inprogress"

tag-version:
name: Push Version Tag
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ coverage: clean-test
# This target is for use with IDE integration.
format:
@echo -e "\n\t\033[1;32mAutoformatting $(SRCFILE) ...\033[0m\n"
$(BLACK) $(SRCFILE)
$(BLACK) --fast $(SRCFILE)
$(ISORT) $(ISORT_ARGS) $(SRCFILE)
$(DOCFORMATTER) $(DOCFORMATTER_ARGS) $(SRCFILE)

Expand Down
383 changes: 373 additions & 10 deletions data/RAMSTK.toml

Large diffs are not rendered by default.

Loading

0 comments on commit 56ba6ab

Please sign in to comment.