From 8f3d9f4e3a12eb743016e5619d64bdc09ab3eddd Mon Sep 17 00:00:00 2001 From: marwoodandrew Date: Tue, 6 Aug 2024 11:33:30 +1000 Subject: [PATCH] Fix broken test build --- .github/workflows/tests.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2427ff76..cc686927 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,28 @@ jobs: server-py-36: runs-on: ubuntu-20.04 + services: + redis: + image: redis:alpine + ports: + - "6379:6379" + + mongo: + image: mongo:3.6 + ports: + - "27017:27017" + + elastic: + image: docker.elastic.co/elasticsearch:2.4.6 + ports: + - "9200:9200" + env: + discovery.type: single-node + + defaults: + run: + working-directory: server + steps: - uses: actions/checkout@v2 @@ -16,8 +38,6 @@ jobs: with: python-version: 3.6 - - name: docker-compose - run: docker-compose -f .actions-docker-compose.yml up -d - run: | sudo apt-get update