Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/JOB_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,20 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
shell: bash # stops windows hosts from using powershell
run: |
pip install poetry pytest
poetry install --no-interaction --no-root -vvv --all-extras
poetry install --no-interaction --no-root --all-extras -vvv
pip install wheel
pip install --upgrade setuptools
pip install --editable ".[test,ml,medical,dev, ocv]"
- name: Install dependencies with retry
uses: nick-invision/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: |
bash -c "pip install poetry pytest && \
poetry install --no-interaction --no-root -vvv --all-extras && \
poetry install --no-interaction --no-root --all-extras -vvv && \
pip install wheel && \
pip install --upgrade setuptools && \
pip install --editable '.[test,ml,medical,dev, ocv]'"

- name: Run pytest
shell: bash # stops windows hosts from using powershell
shell: bash # Stops Windows hosts from using PowerShell
run: |
python -m pytest