Skip to content

Commit

Permalink
properly checkout repo, use tox
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed May 13, 2024
1 parent 69c931d commit 68093b8
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/test_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install wheel
run: |
pip install -U pip wheel
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pyfolio-reloaded[test]
pytest tests
- name: Checkout pyfolio
uses: actions/checkout@v4

- name: Unittests with tox & pytest
uses: nick-fields/retry@v3
with:
timeout_minutes: 90
max_attempts: 3
retry_on: error
new_command_on_retry: |
python -m pip install -U pip wheel tox tox-gh-actions
python -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pyfolio-reloaded[test]
tox
command: tox -p auto -q

0 comments on commit 68093b8

Please sign in to comment.