pmbootstrap/test
Oliver Smith 4b8a0db5bc
CI: replace gitlab CI with sourcehut CI
Replace .gitlab-ci.yml with a minimal .build.yml that runs a script in
the .ci dir for each task. Each of these scripts runs as root first,
installs dependencies, and then drops rights to the testuser and runs
the actual test. I went with this design, so we can add a
'pmbootstrap ci' command in following patches that run these in a
pmbootstrap chroot (see pmaports#2169).

Looking at flake8, we currently ignore W504 and W604. Would be nice to
fix these instead, but let's do that in another patch.

I've added a minver package to Alpine, so we don't need to install it
form pip anymore. Use minver's new --lint argument to simplify the
script, and as recommended by minver itself, use --no-parse-comments as
speed optimization since we don't have minver specific comments.

Using doas instead of sudo in build.yml would be nice, but this doesn't
work out of the box. Can be changed in the future.

Add a note to the pytest script, that 'pmbootstrap log' can be used to
follow the log while tests are running.
2022-10-25 20:31:19 +02:00
..
pmb_test Happy new year 2022! 2022-01-02 22:39:14 +01:00
testdata pmb.aportgen.gcc: remove !tracedeps option 2022-10-05 20:44:31 +02:00
pytest.ini CI: drop support for cached venv + ci runner (MR 2080) 2021-07-04 22:51:53 +02:00
test_apk.py pmb.chroot.apk.install: move pkgname sanitization (MR 2185) 2022-05-30 19:09:01 +02:00
test_apk_static.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_aportgen.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_aportgen_device_wizard.py pmb.aportgen.device: no depend on mesa-dri-gallium (MR 2210) 2022-10-12 08:24:53 +02:00
test_arguments.py pmb.parse.arguments: add zap --all flag (MR 2117) 2022-02-28 17:09:21 +03:00
test_bootimg.py test: Add boot.img header v2 testcase (MR 2194) 2022-07-18 14:49:42 -07:00
test_build_is_necessary.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_build_package.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_chroot_interactive_shell.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_config_init.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_config_pmaports.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_config_user.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_config_workdir.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_cross_compile_distcc.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_crossdirect.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_envkernel.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_file.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_folder_size.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_frontend.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_git.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_lint.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_package.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_pmaports.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_repo.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_repo_missing.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_status.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_helpers_ui.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_install.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_kconfig_check.py test_kconfig_check: modify nokia-n900 test (MR 2204) 2022-09-13 09:30:23 +02:00
test_keys.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_mount.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_newapkbuild.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_parse_apkbuild.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_parse_apkindex.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_parse_depends.py pmb.parse.depends: ignore conflict dependency that no longer exists (MR 2181) 2022-05-12 22:26:53 -07:00
test_parse_deviceinfo.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_pkgrel_bump.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_qemu_running_processes.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_questions.py pmb.parse.bootimg: Add preliminary support for header v2 (MR 2194) 2022-07-18 14:49:16 -07:00
test_run_core.py Print return code when subprocess fails (MR 2161) 2022-01-22 15:45:12 +01:00
test_shell_escape.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_version.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
test_version_validate.py Happy new year 2022! 2022-01-02 22:39:14 +01:00