diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3ef0f7..0e5c9e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,7 @@ concurrency: jobs: # This job defines the matrix and calls the reusable workflow for each image build build: + needs: run_backend_tests name: Build ${{ matrix.image_config.IMAGE_NAME }} # Define necessary permissions if needed (e.g., for GitHub Packages) permissions: diff --git a/.github/workflows/unittest_backend.yml b/.github/workflows/unittest_backend.yml index bdccb7b..11a3e62 100644 --- a/.github/workflows/unittest_backend.yml +++ b/.github/workflows/unittest_backend.yml @@ -10,6 +10,8 @@ on: jobs: run_backend_tests: name: Run Backend unit tests + permissions: + checks: write uses: ./.github/workflows/template_unit_pytest.yml # Pass parameters as inputs to the reusable workflow with: