Skip to content

Commit

Permalink
added CI for defaults updating
Browse files Browse the repository at this point in the history
  • Loading branch information
marwaneltoukhy committed Oct 8, 2023
1 parent cc6f5f2 commit deaf0fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/update_defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
defaults:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
design_types: ["openframe", "analog", "digital"]
steps:
Expand All @@ -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
Expand Down

0 comments on commit deaf0fd

Please sign in to comment.