diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc63774..84144d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,9 +156,17 @@ jobs: run: | poetry build + - name: Setup DynamoDB Local + uses: rrainn/dynamodb-action@v2.0.1 + with: + dbPath: # undefined by default, if this is undefined inMemory will be used + sharedDb: # undefined by default + delayTransientStatuses: # undefined by default + optimizeDbBeforeStartup: # undefined by default + port: 8000 + - name: Test with pytest run: | - docker run -d -p 8003:8003 amazon/dynamodb-local poetry run pytest tests/test_api.py -k 'test_gettimeseries_get'