diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 251b7a5..285df7b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -39,13 +39,17 @@ jobs: - name: Test install run: python3 -m pip install . - # - name: Test with pytest - # run: python3 -m pytest --cov=shell_logger example/ test/ + - name: Test with pytest + uses: nick-fields/retry@v3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: python3 -m pytest --verbose --cov=shell_logger test/ - # - name: Upload coverage reports to Codecov - # uses: codecov/codecov-action@v3 - # env: - # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Check documentation coverage run: make coverage SPHINXOPTS="-W --keep-going"