From bfd5f0ba1b6cae665fa832585639b7e34c1e0f57 Mon Sep 17 00:00:00 2001 From: Marcin Morawski Date: Mon, 2 Oct 2023 17:12:33 +0200 Subject: [PATCH] CI - Setup lorem.space backend API for test --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ad78ad..3f262c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,8 @@ jobs: tests: name: "Run tests" runs-on: "ubuntu-20.04" + env: + LOREM_SPACE_SELF_OWNED_URL: http://localhost:8080/image/ strategy: matrix: include: @@ -58,6 +60,11 @@ jobs: - php-version: 8.2 xdebug: "xdebug" prefer-lowest: "" + services: + loremspace: + image: morawskim/lorem-space-backend + ports: + - 8080:8080 steps: - name: "Checkout" uses: "actions/checkout@v3"