Skip to content

Commit

Permalink
try running 4 bats tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 committed Jan 22, 2025
1 parent 4dcbbc0 commit 5f45d97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
e2e/assets/playground_backend/.mops
key: playground-backend-mops-${{ hashFiles('e2e/assets/playground_backend/mops.toml') }}
- name: Run e2e test
run: timeout 2400 bats "e2e/$E2E_TEST"
run: timeout 2400 bats "e2e/$E2E_TEST" --jobs 4

ui_test:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/workflows/provision-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export

# Install Bats + moreutils.
brew fetch --retry coreutils moreutils
brew install coreutils moreutils
brew install coreutils moreutils parallel

# Install Bats.
if [ "$(uname -r)" = "19.6.0" ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/workflows/provision-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export
pushd /tmp

# Install Bats + moreutils.
sudo apt-get install --yes bats moreutils
sudo apt-get install --yes bats moreutils parallel

# Modifications needed for some tests
if [ "$E2E_TEST" = "tests-dfx/bitcoin.bash" ]; then
Expand Down

0 comments on commit 5f45d97

Please sign in to comment.