Warn about but Ignore unknown targets

This commit is contained in:
Ranjeet Kumar Ranjan 2022-08-09 18:17:02 +05:30
parent ff1dd549c6
commit 477148432d

View File

@ -96,7 +96,11 @@ jobs:
- name: Run benchmarks
if: steps.cache-charts-master.outputs.cache-hit != 'true'
run: |
cabal run bench-runner --project-file=cabal.project.report -- --targets "$CI_BENCHMARKS" --raw
for i in $CI_BENCHMARKS
do
cabal run bench-runner --project-file=cabal.project.report -- --targets $i --raw || \
echo "Warning: target $i does not exist in the master branch."
done
- name: Move charts to charts-master
if: steps.cache-charts-master.outputs.cache-hit != 'true'