Skip to content

Commit 89553b7

Browse files
committed
Update CI workflow to include AWS environment variables for testing and remove local DynamoDB setup in test configuration
1 parent ed278ac commit 89553b7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ jobs:
6666
- name: Create coverage folder
6767
run: mkdir -p ./coverage
6868
- run: npm test
69+
env:
70+
AWS_REGION: us-east-1
71+
AWS_ACCESS_KEY_ID: test
72+
AWS_SECRET_ACCESS_KEY: test
6973
- name: Coveralls
7074
uses: coverallsapp/github-action@1.1.3
7175
continue-on-error: true

packages/dynamoose/test/_setup.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
const ModelStore = require("../dist/ModelStore").default;
2-
const dynamoose = require("../dist");
32

43
beforeEach(() => {
54
ModelStore.clear();
6-
// Ensure tests always use DynamoDB Local
7-
dynamoose.aws.ddb.local("http://localhost:8000");
85
});
96

107

0 commit comments

Comments
 (0)