Skip to content

Commit

Permalink
create coverage_ats directory before writing data into it
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-guidini committed Nov 3, 2023
1 parent 875d144 commit f2c0b91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codecov_ats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,13 @@ jobs:
- name: Codecov Automated Test Selection
id: codecov_automated_test_selection
run: |
# Directory for the artifacts from this step
mkdir .artifacts/codecov_ats
# This is the base for the git diff BASE..HEAD
BASE_COMMIT=$(git merge-base ${{ github.sha }}^ origin/master)
echo $BASE_COMMIT
# Get list of tests to run from Codecov
output=$(codecovcli --codecov-yml-path=codecov.yml label-analysis --dry-run --token=${CODECOV_STATIC_TOKEN} --base-sha=${BASE_COMMIT}) || true
# Post processing and validation
if [ -n "${output}" ];
then
Expand Down

0 comments on commit f2c0b91

Please sign in to comment.