Skip to content

Commit

Permalink
Added --feeling-safe option to tmt run in GH workflow
Browse files Browse the repository at this point in the history
Fixes: #971

Local provisioning is considered dangerous since tmt v1.38.0 and
causes the pipeline to fail. In order to be able to run BlueChi
integration tests, lets enable it by setting the environment
variable TMT_FEELING_SAFE via --feeling-safe CLI option in the
GitHub workflow.
See:
teemtee/tmt#3282
https://tmt.readthedocs.io/en/stable/overview.html#variables

Signed-off-by: Michael Engel <[email protected]>
  • Loading branch information
engelmi committed Oct 28, 2024
1 parent 1082709 commit d9d6f3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,14 @@ jobs:
tmt lint
cd ..
# Enable local provisioning as this is considered dangerous since tmt v1.38.0
# see https://github.com/teemtee/tmt/pull/3282
- name: Run integration tests
id: run-tests
run: |
cd tests
tmt run -v \
tmt --feeling-safe \
run -v \
-eCONTAINER_USED=integration-test-local \
-eWITH_COVERAGE=1 \
-eLOG_LEVEL=DEBUG \
Expand Down

0 comments on commit d9d6f3a

Please sign in to comment.