Skip to content

Commit

Permalink
Re running the ci with workflow run removing quotes in the declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Jul 22, 2024
1 parent 15061ba commit 4e8198c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,24 @@ name: Code Coverage
# events or push events in the develop branch.
on:
workflow_run:
workflows: ["Unit Tests (Robolectric - Bazel)"]
workflows: [Unit Tests (Robolectric - Bazel)]
types:
- completed
workflow_dispatch:
# pull_request:
# push:
# branches:
# # Push events on develop branch
# - develop
pull_request:
push:
branches:
# Push events on develop branch
- develop

jobs:
compute_changed_files:
name: Compute changed files
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
outputs:
matrix: ${{ steps.compute-file-matrix.outputs.matrix }}
can_skip_tests: ${{ steps.compute-file-matrix.outputs.can_skip_files }}
can_skip_tests: ${{ steps.compute-file-matrix.outputs.can_skip_tests }}
env:
CACHE_DIRECTORY: ~/.bazel_cache
steps:
Expand Down Expand Up @@ -90,9 +91,9 @@ jobs:
echo "Changed files (note that this might be all files if configured to run all or on the develop branch): $FILE_BUCKET_LIST"
echo "::set-output name=matrix::{\"changed-files-bucket-base64-encoded-shard\":[$FILE_BUCKET_LIST]}"
if [[ ! -z "$FILE_BUCKET_LIST" ]]; then
echo "::set-output name=can_skip_files::false"
echo "::set-output name=can_skip_tests::false"
else
echo "::set-output name=can_skip_files::true"
echo "::set-output name=can_skip_tests::true"
echo "No files are affected by this change. If this is wrong, you can add '[RunAllTests]' to the PR title to force a run."
fi
Expand Down

0 comments on commit 4e8198c

Please sign in to comment.