Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
corentincarton committed Feb 14, 2024
1 parent 5fbcb49 commit 0ca1af1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python -m pip install -r requirements.txt
- run: python -m pip install .

test:
Expand All @@ -34,7 +33,5 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python -m pip install -r requirements.txt
- run: python -m pip install pytest
- run: python -m pip install .
- run: python -m pip install .[test]
- run: python -m pytest .
5 changes: 1 addition & 4 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python -m pip install -r requirements.txt
- run: python -m pip install .

test:
Expand All @@ -34,9 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python -m pip install -r requirements.txt
- run: python -m pip install pytest
- run: python -m pip install .
- run: python -m pip install .[test]
- run: python -m pytest .

distribution:
Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ include_package_data = True
install_requires =
gitpython >= 3.1.25

[options.extras_require]
test =
pytest
mocker
pytest-mock

[options.packages.find]
include = tracksuite*

Expand Down

0 comments on commit 0ca1af1

Please sign in to comment.