Skip to content

Commit 6cc599e

Browse files
author
Robert Bradley
committed
Adding nightly testing
1 parent c1bc914 commit 6cc599e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
- name: Start DynamoDB Local
3636
run: docker run -d -p 8000:8000 amazon/dynamodb-local
3737

38+
- name: Wait for DynamoDB to become ready
39+
run: |
40+
until aws dynamodb list-tables --endpoint-url http://127.0.0.1:8000; do
41+
echo "Waiting for local DynamoDB..."
42+
sleep 1
43+
done
44+
3845
- name: Create Rooms table for testing
3946
run: node test/integration-tests/scripts/create-local-table.js
4047

@@ -62,3 +69,12 @@ jobs:
6269

6370
- name: Run integration tests
6471
run: npm run integration-tests
72+
73+
- name: Unit Test Report
74+
uses: phoenix-actions/test-reporting@v8
75+
id: unit-test-report
76+
if: success() || failure()
77+
with:
78+
name: Unit Tests
79+
path: junit.xml
80+
reporter: jest-junit

0 commit comments

Comments
 (0)