Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
test env
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Oct 24, 2024
1 parent 1f9bbdf commit abee18c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install hatch --upgrade pip
hatch env create
hatch env create test
- name: Lint with Ruff
run: hatch run ruff check --output-format=github .
#continue-on-error: true
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ dev = [
"dash_cytoscape~=1.0.2",
"pybind11~=2.11.1",
]
test = ["pytest>=7.1.3,<9.0.0", "pytest-xdist~=3.6.1", "pybind11~=2.11.1"]


[project.scripts]
faebryk = "faebryk.tools.main:__main__"
Expand All @@ -76,6 +78,9 @@ faebryk = "faebryk.tools.main:__main__"
#pip-compile-verbose = true
#dependencies = ["faebryk[dev]"]

[tool.hatch.envs.test]
dependencies = ["faebryk[test]"]


[tool.hatch.build.targets.wheel]
packages = ["src/faebryk"]
Expand Down

0 comments on commit abee18c

Please sign in to comment.