Skip to content

Commit

Permalink
CI: Use Poetry to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroCollogno committed Mar 30, 2024
1 parent 20d6775 commit 85a82b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/check_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Run tests
run: python -m pytest
# TODO: set up Poetry's dependencies and use it with PyTest
# run: poetry run pytest
run: poetry run pytest
code-quality:
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8"
pytest = ">=8.0.0"

[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
pytest = "^8.1.1"

[build-system]
requires = ["hatchling"]
Expand Down

0 comments on commit 85a82b4

Please sign in to comment.