Skip to content

Commit

Permalink
Include Windows job to test ExcelModel
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 10, 2024
1 parent 177e8a8 commit 154ae62
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["ubuntu-latest"]
include:
- python-version: "3.8"
- os: "windows-latest"

steps:
- uses: actions/checkout@v4
Expand Down
20 changes: 16 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,22 @@ dynamic = ["version"] # Version is read from rhodium/__init__.py
"Bug Tracker" = "https://github.com/Project-Platypus/Rhodium/issues"

[project.optional-dependencies]
test = ["pytest", "mock", "rhodium[examples]"]
openmdao = ["openmdao"]
windows = ["win32com"]
examples = ["pandas[excel]", "pyper<=1.1.2"]
test = [
"pytest",
"mock",
"rhodium[examples]"
]
openmdao = [
"openmdao"
]
examples = [
"pandas[excel]",
"pyper<=1.1.2",
"rhodium[windows]"
]
windows = [
"pywin32 ; platform_system == 'Windows'"
]

[tool.setuptools.dynamic]
version = {attr = "rhodium.__version__"}
Expand Down

0 comments on commit 154ae62

Please sign in to comment.