Skip to content

Commit

Permalink
Update tox with Tox section
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Oct 7, 2024
1 parent e1efce1 commit 162ff8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
echo "::set-output name=SHA::$(git rev-parse HEAD)"
- name: Install needed dependences for sanity checks
- name: Install needed dependencies for sanity checks
id: sched_test
run: |
sudo apt-get update && sudo apt-get -y install curl jq make git shellcheck python3 python3-pip
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

def get_requirements():
"""Parse all packages mentioned in the 'requirements.txt' file."""
with open(Path(this_directory) / "requirements.txt") as file_stream:
with open("requirements.txt") as file_stream:
return file_stream.read().splitlines()


Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[tox]
skipsdist = True
envlist = py36,py37,py38,py39,py310,py311,py312

[testenv]
commands = python3 -m pytest --color=yes -vv --verbose --showlocals
deps =
Expand Down

0 comments on commit 162ff8f

Please sign in to comment.