From deaf0fd4279eefa6d04c75625cdc969767fc3eb2 Mon Sep 17 00:00:00 2001 From: marwaneltoukhy Date: Sun, 8 Oct 2023 15:12:06 +0300 Subject: [PATCH] added CI for defaults updating --- .github/workflows/update_defaults.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update_defaults.yaml b/.github/workflows/update_defaults.yaml index 9ba7e56..0adfd6f 100644 --- a/.github/workflows/update_defaults.yaml +++ b/.github/workflows/update_defaults.yaml @@ -11,6 +11,7 @@ jobs: defaults: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: design_types: ["openframe", "analog", "digital"] steps: @@ -35,12 +36,9 @@ jobs: python3 $GITHUB_WORKSPACE/checks/defaults_check.py -i $GITHUB_WORKSPACE/tmp_default_content -d $GITHUB_WORKSPACE/_default_content -t ${{ matrix.design_types }} > $GITHUB_WORKSPACE/defaults.log 2>&1 - echo "here" - echo $? - cat $GITHUB_WORKSPACE/defaults.log - vio=$(grep -c "clean" $GITHUB_WORKSPACE/defaults.log) + vio=$(grep -c "Clean" $GITHUB_WORKSPACE/defaults.log || true) if [[ $vio -gt 0 ]]; then cp $GITHUB_WORKSPACE/tmp_default_content/README.md $GITHUB_WORKSPACE/_default_content/README_${{ matrix.design_types }}.md