Skip to content
Open
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
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
jobs:
build:
name: Python ${{ matrix.python-version }} | Django ${{ matrix.django-version}} | Ubuntu
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend 24.04, is there a reason to hold back?

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -52,6 +52,19 @@ jobs:
typesense-version: '27.0'
typesense-api-key: sample_key

- name: Wait for TypeSense to be ready
run: |
echo "Waiting for TypeSense..."
for i in {1..30}; do
if curl -s http://localhost:8108/health | grep '"ok"' > /dev/null; then
echo "TypeSense is ready!"
exit 0
fi
sleep 2
done
echo "TypeSense failed to start"
exit 1

- name: Run tests
run: |
coverage run runtests.py
Expand Down
Loading