Try using parallel_tests
to split test files in CI
#715
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: " π» PR CI (staging)" | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
minitest: | |
name: π§ͺ Minitest | |
uses: ./.github/workflows/_run_tests.yml | |
secrets: inherit | |
standardrb: | |
name: π¬ Standardrb | |
uses: ./.github/workflows/_standardrb.yml | |
secrets: inherit | |
db_schema: | |
name: π DB Schema | |
uses: ./.github/workflows/_database_schema_check.yml | |
secrets: inherit | |
# If you'd like to auto-deploy to your staging environment you can uncomment this next block. | |
# You'll need to set HEROKU_EMAIL and HEROKU_API_KEY in your repo secrets. | |
# Be sure to set the app name correctly below. | |
# deploy: | |
# name: π’ Deploy to Heroku | |
# uses: ./.github/workflows/_deploy_heroku.yml | |
# needs: [minitest, standardrb, db_schema] | |
# secrets: inherit | |
# with: | |
# heroku-app-name: "" |