Skip to content

Commit

Permalink
Add test action image for dynamodb
Browse files Browse the repository at this point in the history
  • Loading branch information
Lxstr committed Mar 21, 2024
1 parent a160fc0 commit aff79da
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ name: Run unittests
on: [push, pull_request]
jobs:
unittests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
services:
mongodb:
image: mongo
ports:
- 27017:27017
steps:
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
- uses: niden/actions-memcached@v7
- name: Install testing requirements
run: pip3 install -r requirements/dev.txt
- name: Run tests
run: pytest tests
runs-on: ubuntu-latest
services:
mongodb:
image: mongo
ports:
- 27017:27017
dynamodb:
image: amazon/dynamodb-local
ports:
- 8000:8000
steps:
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
- uses: niden/actions-memcached@v7
- name: Install testing requirements
run: pip3 install -r requirements/dev.txt
- name: Run tests
run: pytest tests

0 comments on commit aff79da

Please sign in to comment.