diff --git a/.github/workflows/docker-build-publish.yml b/.github/workflows/docker-build-publish.yml index 397c50d..bd16108 100644 --- a/.github/workflows/docker-build-publish.yml +++ b/.github/workflows/docker-build-publish.yml @@ -11,7 +11,6 @@ jobs: permissions: contents: read packages: write - steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 @@ -22,7 +21,6 @@ jobs: with: # list of Docker images to use as base name for tags images: | - #cbcoutinho/nextcloud-mcp-server ghcr.io/cbcoutinho/nextcloud-mcp-server # generate Docker tags based on the following events/attributes tags: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb5f804..cf5a203 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 --frozen - env: - DEBIAN_FRONTEND: "noninteractive" - # Add subsequent steps here, e.g., running tests - name: Run tests env: