From a8097ccc51663e21265c9efddbea6a7cbc9c6bc1 Mon Sep 17 00:00:00 2001 From: Lex Date: Mon, 19 Feb 2024 20:39:09 +1000 Subject: [PATCH] Fix test.yaml --- .github/workflows/test.yaml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 384813a5..008fc6bd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,16 +1,18 @@ name: Run unittests on: [push, pull_request] jobs: - unittests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: supercharge/redis-github-action@1.5.0 - - uses: niden/actions-memcached@v7 - - uses: actions/setup-python@v4 - with: - python-version: 'pypy3.9' - - name: Install testing requirements - run: pip3 install -r requirements/dev.txt - - name: Run tests - run: pytest tests + unittests: + runs-on: ubuntu-latest + services: + mongodb: + image: mongo + ports: + - 27017:27017 + steps: + - uses: actions/checkout@v4 + - uses: supercharge/redis-github-action@1.5.0 + - uses: niden/actions-memcached@v7 + - name: Install testing requirements + run: pip3 install -r requirements/dev.txt + - name: Run tests + run: pytest tests