1515 required : false
1616 default : false
1717
18- env :
19- # Allow ddev get to use a github token to prevent rate limiting by tests
20- DDEV_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
2121
22- # Required permissions for keep-alive, used by ddev/github-action-add-on-test
22+ # This is required for "gautamkrishnar/keepalive-workflow", see " ddev/github-action-add-on-test"
2323permissions :
2424 actions : write
2525
@@ -34,16 +34,16 @@ jobs:
3434 runs-on : ubuntu-latest
3535
3636 steps :
37- - uses : actions/checkout@v4
38- with :
39- submodules : true
40-
41- - uses : ddev/github-action-add-on-test@v2
42- with :
43- disable_checkout_action : true
44- ddev_version : ${{ matrix.ddev_version }}
45- token : ${{ secrets.GITHUB_TOKEN }}
46- debug_enabled : ${{ github.event.inputs.debug_enabled }}
47- addon_repository : ${{ env.GITHUB_REPOSITORY }}
48- addon_ref : ${{ env.GITHUB_REF }}
49- test_command : eval TEST_DRUPAL_CORE=${{ matrix.drupal_version }} ./tests/bats/bin/bats tests
37+ - uses : actions/checkout@v4
38+ with :
39+ submodules : true
40+
41+ - uses : ddev/github-action-add-on-test@v2
42+ with :
43+ disable_checkout_action : true
44+ ddev_version : ${{ matrix.ddev_version }}
45+ token : ${{ secrets.GITHUB_TOKEN }}
46+ debug_enabled : ${{ github.event.inputs.debug_enabled }}
47+ addon_repository : ${{ env.GITHUB_REPOSITORY }}
48+ addon_ref : ${{ env.GITHUB_REF }}
49+ test_command : eval TEST_DRUPAL_CORE=${{ matrix.drupal_version }} ./tests/bats/bin/bats tests
0 commit comments