Skip to content

Commit

Permalink
Adding nightly testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Bradley committed Jan 7, 2025
1 parent c1bc914 commit 6cc599e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
- name: Start DynamoDB Local
run: docker run -d -p 8000:8000 amazon/dynamodb-local

- name: Wait for DynamoDB to become ready
run: |
until aws dynamodb list-tables --endpoint-url http://127.0.0.1:8000; do
echo "Waiting for local DynamoDB..."
sleep 1
done
- name: Create Rooms table for testing
run: node test/integration-tests/scripts/create-local-table.js

Expand Down Expand Up @@ -62,3 +69,12 @@ jobs:

- name: Run integration tests
run: npm run integration-tests

- name: Unit Test Report
uses: phoenix-actions/test-reporting@v8
id: unit-test-report
if: success() || failure()
with:
name: Unit Tests
path: junit.xml
reporter: jest-junit

0 comments on commit 6cc599e

Please sign in to comment.