repository-service-tuf / repository-service-tuf-worker

Repository Service for TUF: Worker
MIT License
8 stars 15 forks source link

Add case for local running of FT tests from Makefile #493

Closed KAUTH closed 2 months ago

KAUTH commented 2 months ago

If we are not running Functional Tests on GH actions we don't run the tests in different groups.

Related to https://github.com/repository-service-tuf/repository-service-tuf/pull/684

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (714a29d) to head (28bf080). Report is 26 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #493 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 15 15 Lines 1071 1172 +101 ========================================== + Hits 1071 1172 +101 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

KAUTH commented 2 months ago

@MVrachev, @kairoaraujo I don't think we need to do anything else to run the FT locally in the rest of the repositories under the umbrella. The code was added to repository-service-tuf to identify if the tests are running locally. We only needed to add a specific case for the repository-service-tuf-worker which runs the FT from scripts inside the same repository (whereas the API and CLI use the umbrella scripts, e.g., rstuf-umbrella/tests/functional/scripts/run-ft-das.sh).