Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/blaze-tests.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
# This workflow runs tests for the app using a similar setup as the CircleCI config.
name: Blaze Tests

# Trigger on any push or pull request
# Trigger on any pull request
# and on pushes to the master branch
on:
push:
branches:
- '**'
- master
pull_request:
branches:
- '**'

jobs:
test-app:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive

- name: Setup Node.js environment
uses: actions/setup-node@v4.2.0
uses: actions/setup-node@v6
with:
node-version: 22.15.0
node-version: 22

- name: Install Meteor
run: |
Expand All @@ -45,9 +44,12 @@ jobs:
echo $! > /tmp/meteor_test_pid
working-directory: test-app

# Wait for test-in-console to be ready for up to 6 minutes
# in order to accommodate slower CI environments
- name: Wait for test-in-console to be ready
run: |
for i in {1..60}; do

for i in {1..360}; do
if grep -q 'test-in-console listening' /tmp/meteor_test_output.log; then
echo "test-in-console is ready."
break
Expand Down