Skip to content

Commit

Permalink
Add acceptmobile to ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jan 7, 2025
1 parent 7aa75c1 commit 31c792f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,24 @@ jobs:
fi
exit $exit_code
# Skipping acceptance tests for 3.8, just to save some time.
- name: Mobile acceptance testing
if: matrix.python_version != '3.8'
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 30
command: |
# handle errors manually, so that the retry works.
exit_code=0
# Have to explicitly set MECAB_PATH for natto-py.
export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2
inv acceptmobile --show --verbose || exit_code=$?
if [ "$exit_code" -ne 0 ]; then
echo "Command failed with exit code $exit_code, retrying..."
fi
exit $exit_code
# Playwright tests were hanging far too often on github ci,
# but not consistently. No idea what was going wrong.
# TODO github ci: fix playwright hanging.
Expand Down

0 comments on commit 31c792f

Please sign in to comment.