Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
PasaOpasen committed Dec 27, 2023
1 parent f0b03ee commit 00511b6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,15 @@ jobs:
echo "commit message: ${message}"
echo "SKIP_TESTS=no" >> "$GITHUB_OUTPUT"
if [ "$(echo ${message} | grep '<>')" != "" ]; then
echo "SKIP_TESTS=yes" >> "$GITHUB_OUTPUT"
echo "signal of test skipping"
fi
for pattern in "<>" "update to"
do
if [ "$(echo ${message} | grep "$pattern")" != "" ]; then
echo "SKIP_TESTS=yes" >> "$GITHUB_OUTPUT"
echo "signal of test skipping"
break
fi
done
build-and-test:
Expand Down Expand Up @@ -163,5 +168,5 @@ jobs:
run: |
make doctest

0 comments on commit 00511b6

Please sign in to comment.