From ef840070400eb9983fb0ead98018bad1a08d2d63 Mon Sep 17 00:00:00 2001 From: "Jason M. Gates" Date: Mon, 10 Jun 2024 08:47:00 -0600 Subject: [PATCH] ci: Turn on pytest --- .github/workflows/continuous-integration.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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"