]> _ Git - alire.git/commit
Separate workflow to test unsupported package manager platform (#623)
authorAlejandro R Mosteo <alejandro@mosteo.com>
Mon, 30 Nov 2020 12:21:15 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 12:21:15 +0000 (13:21 +0100)
commitdf8af2d735035a39b5b5fb03e3243c9cc8609653
tree6eb7a67ade480e054eca148ffac506f55aae24d6
parentff9fb73ca6f7c46af3c1e5f2c0410f816685e219
Separate workflow to test unsupported package manager platform (#623)

* Workflow to test with unsupported package manager

* Add config option to disable distro detection

With test

* Fixes for circular elaboration

* Fix test for slight change in behavior

Before the last changes to break circularities, we tried to load the manifest
as part of the config loading process. Now we are satisfied with finding a
properly named file at the expected place. This causes one test to not detect
invalid TOML, since the manifest contents aren't really needed for the test.
12 files changed:
.github/workflows/ci-unsupported.yml [new file with mode: 0644]
scripts/ci-github.sh
src/alire/alire-config.adb
src/alire/alire-config.ads
src/alire/alire-platform.ads
src/alire/os_linux/alire-platform.adb
src/alire/os_macos/alire-platform.adb
src/alire/os_windows/alire-platform.adb
testsuite/drivers/alr.py
testsuite/tests/config/distro-disable/test.py [new file with mode: 0644]
testsuite/tests/config/distro-disable/test.yaml [new file with mode: 0644]
testsuite/tests/workflows/init-options/test.py