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