fix: Install deps before checking service

This commit is contained in:
Chris Coutinho
2025-05-24 22:43:27 +02:00
parent 02e05dc8d0
commit 37f031d13e
+8 -8
View File
@@ -17,6 +17,14 @@ jobs:
with:
compose-file: "./docker-compose.yml"
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y pipx
pipx install uv
uv sync --locked
env:
DEBIAN_FRONTEND: "noninteractive"
- name: Wait for service to be ready
run: |
echo "Waiting for service at http://localhost:8080/ocs/v2.php/apps/serverinfo/api/v1/info to return 401..."
@@ -37,14 +45,6 @@ jobs:
run: |
docker compose exec app php occ app:enable notes
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y pipx
pipx install uv
uv sync --locked
env:
DEBIAN_FRONTEND: "noninteractive"
# Add subsequent steps here, e.g., running tests
- name: Run tests
env: