File tree Expand file tree Collapse file tree 1 file changed +33
-9
lines changed
Expand file tree Collapse file tree 1 file changed +33
-9
lines changed Original file line number Diff line number Diff line change 11name : tests
22on :
33 pull_request :
4+ paths-ignore :
5+ - " **.md"
46 push :
5- branches : [ main ]
7+ branches :
8+ - main
9+ - ' tests**'
10+ paths-ignore :
11+ - " **.md"
612
713 schedule :
8- - cron : ' 25 08 * * * '
14+ - cron : ' 32 01 * * 0 '
915
16+ # Manual trigger with optional debug using SSH.
17+ # See https://github.com/mxschmitt/action-tmate
18+ # This action is already included in ddev/github-action-add-on-test@v2.
1019 workflow_dispatch :
1120 inputs :
1221 debug_enabled :
1322 type : boolean
14- description : Debug with tmate
23+ description : Debug with tmate (SSH access)
1524 required : false
1625 default : false
1726
18- # This is required for "gautamkrishnar/keepalive-workflow"
1927permissions :
20- contents : write
28+ contents : read
2129
2230jobs :
31+ # Job for code quality checks.
32+ code_quality :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : " Check out code"
36+ uses : actions/checkout@v3
37+ - name : " ShellChecker"
38+ uses : a5k-actions/shellchecker@v0
39+ with :
40+ severity : error
41+
42+ # Actual functional tests.
2343 tests :
2444 strategy :
2545 matrix :
2646 ddev_version : [stable, HEAD]
2747 fail-fast : false
28-
2948 runs-on : ubuntu-latest
3049
3150 steps :
51+ # Sets Bash in a strict fashion.
52+ - name : Action Setup Bash
53+ uses : release-engineers/action-setup-bash@v1
54+
55+ # Official DDEV action to test add-ons.
3256 - uses : ddev/github-action-add-on-test@v2
3357 with :
3458 ddev_version : ${{ matrix.ddev_version }}
3559 token : ${{ secrets.GITHUB_TOKEN }}
36- debug_enabled : ${{ github.event. inputs.debug_enabled }}
37- addon_repository : ${{ env.GITHUB_REPOSITORY }}
38- addon_ref : ${{ env.GITHUB_REF }}
60+ debug_enabled : ${{ inputs.debug_enabled }}
61+ addon_repository : ${{ github.repository }}
62+ addon_ref : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments