Skip to content

Commit

Permalink
tests: Add Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalch committed Jul 2, 2024
1 parent a0bc3cf commit 5589bc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,13 @@ jobs:
docker exec test_ckan nosetests --ckan --with-pylons=$WORKDIR/test.ini \
--with-coverage --cover-package=ckanext.switzerland --cover-inclusive --cover-erase --cover-tests \
$WORKDIR/ckanext/switzerland
- name: Coveralls
run: |
# Upgrade certi to fix SSL error due to the version installed in CKAN-2.8 image
pip install --upgrade certifi
# Run coveralls command with retry logic to handle potential transient issues
for attempt in 1 2 3; do
coveralls && break
echo "Attempt $attempt: Failed to submit coverage, retrying in 10 seconds..."
sleep 10
done

0 comments on commit 5589bc1

Please sign in to comment.