Skip to content

Commit 6940f55

Browse files
committed
Try excluding fleximod directories from diff.
1 parent 205e586 commit 6940f55

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/fleximod_test.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ jobs:
7575
7676
# Need to commit the new code locally
7777
# in order to avoid a git diff failure.
78-
- name: commit fleximod code
79-
run: |
80-
git add .lib
81-
git add bin
82-
git commit -m "Committing git-fleximod to avoid false diff"
78+
#- name: commit fleximod code
79+
# run: |
80+
# git add .lib
81+
# git add bin
82+
# git commit -m "Committing git-fleximod to avoid false diff"
8383

8484
- name: run git-fleximod
8585
run: |
@@ -93,4 +93,6 @@ jobs:
9393
echo
9494
echo "Checking if git fleximod matches expected externals"
9595
echo
96-
git add . && git diff --exit-code && git diff --cached --exit-code
96+
git add .
97+
git diff --exit-code -- . ':(exclude).lib' ':(exclude)bin'
98+
git diff --cached --exit-code -- . ':(exclude).lib' ':(exclude)bin'

0 commit comments

Comments
 (0)