Skip to content

Commit

Permalink
use "[dev]" on build and publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirroni committed Sep 7, 2024
1 parent dee49fa commit 151ffe6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,9 @@ jobs:
if: matrix.platform == 'octave'
uses: MATPOWER/action-install-octave-linux@v1

- name: Install requirements
run: |
pip install -r requirements-dev.txt
- name: Install package
run: |
pip install -e .
pip install -e ."[dev]"
- name: Generate coverage report
run: |
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@ jobs:
if: matrix.platform == 'octave'
uses: MATPOWER/action-install-octave-linux@v1

- name: Install requirements
run: |
pip install -r requirements-dev.txt
- name: Install package
run: |
pip install -e .
pip install -e ."[dev]"
- name: Generate coverage report
run: |
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,16 @@ matpower = [
"matpower>=7.1.0.2.1.4",
]
dev = [
"matpower>=7.1.0.2.1.4",
"numpy>=1.21.5",
"oct2py>=5.5.1", # latest support for 3.7
"openpyxl>=3.1.2",
"matpower>=7.1.0.2.1.4",
"pandas>=1.2.0",
"pre-commit>=2.21.0",
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
"pytest-xdist>=3.1.0",
"pre-commit>=2.21.0",
"ruff>=0.6.4",
]

[project.urls]
Expand Down

0 comments on commit 151ffe6

Please sign in to comment.