Skip to content

Commit 3d0d66a

Browse files
committed
Minor improvements on tests
1 parent 3f651d0 commit 3d0d66a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: tests
22
on:
33
pull_request:
44
push:
5-
branches: [ main, develop ]
5+
branches: [ main ]
66

77
schedule:
88
- cron: '25 08 * * *'

tests/test.bats

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,20 @@ check_backstopjs () {
3636
ddev backstopjs local test >&3
3737
}
3838

39-
@test "install from directory" {
39+
@test "Install latest commit" {
4040
set -eu -o pipefail
4141
cd ${TESTDIR}
4242
echo "# ddev get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
4343
ddev get ${DIR}
4444
echo "Installed add-on from directory, restarting ddev" >&3
4545
ddev restart
46-
4746
echo "Testing backstopjs" >&3
4847
check_installed
4948
check_backstopjs
5049
}
5150

5251

53-
@test "install from release" {
52+
@test "Install latest release version" {
5453
set -eu -o pipefail
5554
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
5655
echo "Aljibe already have the release version, running tests now"

0 commit comments

Comments
 (0)