fix(test): running integration tests in ci.

This commit is contained in:
Alexandre Pujol 2025-07-23 01:03:40 +02:00 committed by Alex
parent 2721cf6253
commit 3db6d07359

View file

@ -344,7 +344,7 @@ init:
[group('tests')] [group('tests')]
[doc('Run the integration tests')] [doc('Run the integration tests')]
integration: integration:
bats --recursive --pretty --timing --print-output-on-failure tests/integration TERM=xterm bats --recursive --pretty --timing --print-output-on-failure tests/integration
[group('tests')] [group('tests')]
[doc('Install dependencies for the integration tests (machine)')] [doc('Install dependencies for the integration tests (machine)')]
@ -368,7 +368,6 @@ tests-resync dist flavor: (mount dist flavor) \
[doc('Run the integration tests (machine)')] [doc('Run the integration tests (machine)')]
tests-run dist flavor name="": (tests-resync dist flavor) tests-run dist flavor name="": (tests-resync dist flavor)
ssh {{sshopt}} {{username}}@`just get_ip {{dist}} {{flavor}}` \ ssh {{sshopt}} {{username}}@`just get_ip {{dist}} {{flavor}}` \
TERM=xterm \
bats --recursive --pretty --timing --print-output-on-failure \ bats --recursive --pretty --timing --print-output-on-failure \
/home/{{username}}/Projects/tests/integration/{{name}} /home/{{username}}/Projects/tests/integration/{{name}}