File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Exclude files from releases/tarballs
2+ tests / export-ignore
3+ .github / export-ignore
4+ .gitattributes export-ignore
Original file line number Diff line number Diff line change 11## The Issue
22
3- - #< issue number >
3+ - Fixes #REPLACE_ME_WITH_RELATED_ISSUE_NUMBER
44
55<!-- Provide a brief description of the issue. -->
66
77## How This PR Solves The Issue
88
9+ <!-- Describe the key change(s) in this PR that address the issue above. -->
10+
911## Manual Testing Instructions
1012
13+ <!-- If this PR changes logic, consider adding additional steps or context to the instructions below. -->
14+
1115``` bash
12- ddev add-on get https://github.com/< user > / < repo > /tarball/< branch >
16+ ddev add-on get https://github.com/ddev/ddev-phpmyadmin /tarball/refs/pull/REPLACE_ME_WITH_THIS_PR_NUMBER/head
1317ddev restart
1418```
1519
Original file line number Diff line number Diff line change 11name : tests
22on :
33 pull_request :
4+ paths-ignore :
5+ - " **.md"
46 push :
57 branches : [ main ]
8+ paths-ignore :
9+ - " **.md"
610
711 schedule :
8- - cron : ' 01 07 * * *'
12+ - cron : ' 25 08 * * *'
913
1014 workflow_dispatch :
1115 inputs :
@@ -19,9 +23,8 @@ concurrency:
1923 group : ${{ github.workflow }}-${{ github.ref }}
2024 cancel-in-progress : true
2125
22- # This is required for "gautamkrishnar/keepalive-workflow", see "ddev/github-action-add-on-test"
2326permissions :
24- actions : write
27+ contents : read
2528
2629jobs :
2730 tests :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pre_install_actions:
1313 exit 1
1414 fi
1515
16- ddev_version_constraint : ' >= v1.24.3 '
16+ ddev_version_constraint : ' >= v1.24.10 '
1717
1818post_install_actions :
1919 - |
Original file line number Diff line number Diff line change @@ -58,8 +58,14 @@ health_checks() {
5858
5959teardown () {
6060 set -eu -o pipefail
61- ddev delete -Oy ${PROJNAME} > /dev/null 2>&1
62- [ " ${TESTDIR} " != " " ] && rm -rf ${TESTDIR}
61+ ddev delete -Oy " ${PROJNAME} " > /dev/null 2>&1
62+ # Persist TESTDIR if running inside GitHub Actions. Useful for uploading test result artifacts
63+ # See example at https://github.com/ddev/github-action-add-on-test#preserving-artifacts
64+ if [ -n " ${GITHUB_ENV:- } " ]; then
65+ [ -e " ${GITHUB_ENV:- } " ] && echo " TESTDIR=${HOME} /tmp/${PROJNAME} " >> " ${GITHUB_ENV} "
66+ else
67+ [ " ${TESTDIR} " != " " ] && rm -rf " ${TESTDIR} "
68+ fi
6369}
6470
6571@test " install from directory" {
You can’t perform that action at this time.
0 commit comments