Skip to content

Commit 45071c8

Browse files
committed
Add test dependencies for CI
1 parent 7e6fbe8 commit 45071c8

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install project
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install -e .
29+
pip install -e .[dev]
3030
3131
- name: Run tests
3232
run: python -m pytest -q

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ Issues = "https://github.com/Poryaei/pine-script-validator/issues"
3434
pine-validator = "pinescript_validator.cli:main"
3535
pine-validator-audit = "pinescript_validator.audit:main"
3636

37+
[project.optional-dependencies]
38+
dev = [
39+
"pytest>=8.0",
40+
]
41+
3742
[tool.setuptools]
3843
package-dir = {"" = "src"}
3944

0 commit comments

Comments
 (0)