Skip to content

Commit

Permalink
ci: Fix pytest configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlin7 committed Apr 18, 2024
1 parent 14add23 commit a74b544
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
python -m pip install flake8 pytest
python -m pip install .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -36,4 +37,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
python -m pytest
2 changes: 1 addition & 1 deletion mono/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.0"
__version__ = "0.35.0"
__version_info__ = tuple(map(int, __version__.split('.')))

import os
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
[tool.poetry]
name = "mono"
version = "0.3.0"
version = "0.35.0"
description = "Embeddable terminal emulator"
authors = ["Billy <billydevbusiness@gmail.com>"]
license = "MIT"
readme = "README.md"

packages = [
{ include = "mono" }
]

[tool.poetry.dependencies]
python = "^3.10"
pywinpty = {version = "^2.0.13", platform = "win32"}
ptyprocess = {version = "^0.7.0", platform = "linux"}


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

Expand Down

0 comments on commit a74b544

Please sign in to comment.