Skip to content

Commit 2262b95

Browse files
authored
chore(*): run update-checker.sh, bump constraint v1.24.10 (#31)
1 parent a825152 commit 2262b95

5 files changed

Lines changed: 25 additions & 8 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Exclude files from releases/tarballs
2+
tests/ export-ignore
3+
.github/ export-ignore
4+
.gitattributes export-ignore

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
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
1317
ddev restart
1418
```
1519

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: tests
22
on:
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"
2326
permissions:
24-
actions: write
27+
contents: read
2528

2629
jobs:
2730
tests:

install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1818
post_install_actions:
1919
- |

tests/test.bats

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,14 @@ health_checks() {
5858

5959
teardown() {
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" {

0 commit comments

Comments
 (0)