Skip to content

Commit ceb96a1

Browse files
committed
Fix unit tets
1 parent 34b8bc2 commit ceb96a1

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,7 @@ jobs:
8080

8181
###########################################################################################
8282

83-
84-
- name: merge a feat/ branch but with merge commit bump DISABLED
85-
run: |
86-
git config user.name "GitHub Actions Bot"
87-
git config user.email "<>"
88-
git branch feat/no-bump-test
89-
git switch feat/no-bump-test
90-
touch no-bump-test
91-
echo 'no-bump-test' > no-bump-test
92-
git add no-bump-test
93-
git commit -m "feat: no-bump-test"
94-
git checkout main
95-
git merge feat/no-bump-test --no-ff --commit --no-edit
96-
97-
- name: bump should be patch (1.0.1) NOT minor (1.1.0) because merge bump is disabled
83+
- name: bump should be patch (0.0.3) NOT minor (0.1.0) because merge bump is disabled
9884
id: version_no_merge_bump
9985
run: ./version-bump.sh
10086
env:
@@ -106,7 +92,7 @@ jobs:
10692
if [[ "$version_tag_numeric" == '0.0.3' ]];then
10793
echo "winning"
10894
else
109-
echo "Expected 1.0.1 but got $version_tag_numeric"
95+
echo "Expected 0.0.3 but got $version_tag_numeric"
11096
exit 1
11197
fi
11298
shell: bash

0 commit comments

Comments
 (0)