split tests into upgrades, storages and packages #108

Merged
twenty-panda merged 5 commits from refs/pull/108/head into main 2024-04-27 08:53:41 +00:00
4 changed files with 13 additions and 0 deletions
Showing only changes of commit 6bb5e947fb - Show all commits

View file

@ -3,3 +3,4 @@
FIXTURES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $FIXTURES_DIR/fixtures/storage.sh
source $FIXTURES_DIR/fixtures/doctor.sh

View file

@ -0,0 +1,7 @@
# SPDX-License-Identifier: MIT
function doctor_run() {
local version=$1
forgejo_cli $version doctor check --all # --log-file -
}

View file

@ -7,6 +7,9 @@ HTTP_PORT = 3000
SSH_LISTEN_PORT = 2222
LFS_START_SERVER = true
[queue]
TYPE = immediate
[database]
DB_TYPE = sqlite3
PATH = ${WORK_PATH}/forgejo.db

View file

@ -36,6 +36,7 @@ function test_successful_upgrades() {
start $version
fixture_create
fixture_assert
doctor_run $version
for version in 1.19 1.20 1.21 $RELEASE_NUMBERS_AND_DEV ; do
stop
@ -43,6 +44,7 @@ function test_successful_upgrades() {
start $version
verify_storage
fixture_assert
doctor_run $version
done
done
}