Skip to content

Try using parallel_tests to split test files in CI #1172

Try using parallel_tests to split test files in CI

Try using parallel_tests to split test files in CI #1172

# This workflow will run whenever a PR is opened or changed.
#
# It will run tests and a few safety checks.
#
# If everything passes it can be set to auto-deploy to your staging app on Heroku.
#
# This workflow is primarily meant to be triggered automatically, but it can be run manually.
name: " πŸš… _ BT - Internal CI"
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [ "main" ]
jobs:
super_scaffolding:
# This makes it so that this job only runs in the starter repo itself, and not in
# applications started from the starter repo. If you want to run super scaffolding
# test for your own app you can remove or comment out this next line.
if: github.repository == 'bullet-train-co/bullet_train'
name: πŸ—οΈ Super Scaffolding Tests
uses: ./.github/workflows/_run_super_scaffolding_tests.yml
secrets: inherit
core_minitest:
# This makes it so that this job only runs in the starter repo itself, and not in
# applications started from the starter repo. If you want to run super scaffolding
# test for your own app you can remove or comment out this next line.
if: github.repository == 'bullet-train-co/bullet_train'
name: "πŸ§ͺ Core: Minitest"
uses: ./.github/workflows/_run_tests.yml

Check failure on line 31 in .github/workflows/ci-cd-pipeline-bt-internal.yml

View workflow run for this annotation

GitHub Actions / πŸš… _ BT - Internal CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-cd-pipeline-bt-internal.yml (Line: 31, Col: 11): Error from called workflow bullet-train-co/bullet_train/.github/workflows/_run_tests.yml@af7825b7668e9ca5d680e671a60d5a16bbca770a (Line: 158, Col: 14): Unexpected symbol: '+'. Located at position 20 within expression: strategy.job-index + 1
secrets: inherit
with:
use-core-repo: true
core_super_scaffolding:
# This makes it so that this job only runs in the starter repo itself, and not in
# applications started from the starter repo. If you want to run super scaffolding
# test for your own app you can remove or comment out this next line.
if: github.repository == 'bullet-train-co/bullet_train'
name: "πŸ—οΈ Core: Super Scaffolding Tests"
uses: ./.github/workflows/_run_super_scaffolding_tests.yml
secrets: inherit
with:
use-core-repo: true