Skip to content

BRS-322 and BRS-323: Convert A&R to use SAM #219

BRS-322 and BRS-323: Convert A&R to use SAM

BRS-322 and BRS-323: Convert A&R to use SAM #219

Workflow file for this run

name: Run Tests
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
### Install if no cache exists ###
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install --silent --frozen-lockfile
- name: Setup DynamoDB Local
uses: rrainn/dynamodb-action@v3.0.0
with:
sharedDb: true
port: 8000
cors: "*"
- name: Sleep so DynamoDB has time to wake up
uses: GuillaumeFalourd/wait-sleep-action@v1
with:
time: '15' # for 15 seconds
- run: yarn test --coverage --runInBand
env:
IS_OFFLINE: true
AWS_REGION: local-env
TABLE_NAME: ar-tests
AWS_ACCESS_KEY_ID: notused
AWS_SECRET_ACCESS_KEY: notused