Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
update terraform to provision endpoints - change docker script
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Aug 5, 2023
1 parent adc5bb6 commit 72f8692
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ jobs:
npm --no-git-tag-version version ${THE_VERSION//-*}
- name: Setup local DynamoDB
if: ${{ startsWith('test') }}
if: ${{ startsWith(github.ref, 'test') }}
run: docker run -d -p 8000:8000 amazon/dynamodb-local

- name: Lint and Flake Install
if: ${{ startsWith('test') }}
if: ${{ startsWith(github.ref, 'test') }}
run: |
pip3 install -U pip pylint
pip3 install -U pip flake8
Expand All @@ -114,11 +114,11 @@ jobs:
pip3 install -U pip pytest-dynamodb
- name: Load sample
if: ${{ startsWith('test') }}
if: ${{ startsWith(github.ref, 'test') }}
run: python3 tests/example_load_data.py

- name: Test with pytest
if: ${{ startsWith('test') }}
if: ${{ startsWith(github.ref, 'test') }}
run: pytest tests/test_api.py

- name: Commit Version Bump
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
node-version: 14

- name: NPM install & NPM Lint
if: ${{ startsWith('test') }}
if: ${{ startsWith(github.ref, 'test') }}
run:
npm install
npm run lint
Expand Down

0 comments on commit 72f8692

Please sign in to comment.