Skip to content

Commit

Permalink
experiment 15
Browse files Browse the repository at this point in the history
[run-slow-tests]
  • Loading branch information
ckunki committed May 22, 2024
1 parent 7edd50e commit 9c5964d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:

jobs:

show-commit-message-1:
name: show commit message 1
runs-on: ubuntu-20.04
run: echo ${{ github.event.head_commit.message }}

CI:
uses: ./.github/workflows/ci.yml
secrets: inherit
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
name: Examine Commit Message in ci-pr
run: |
echo A=5 >> "$GITHUB_OUTPUT"
git status
git log -1 --pretty=format:"%b"
if ! (git log -1 --pretty=format:"%b" | grep "\[run-slow-tests\]"); then
/usr/bin/git status
/usr/bin/git log -1 --pretty=format:"%b"
if ! (/usr/bin/git log -1 --pretty=format:"%b" | grep "\[run-slow-tests\]"); then
export RUN_SLOW_TESTS='-m "not slow"' >> "$GITHUB_OUTPUT"
fi
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: CI

on:
workflow_call:
inputs:
commit-message:
type: string
secrets:
ALTERNATIVE_GITHUB_TOKEN:
required: false
Expand Down

0 comments on commit 9c5964d

Please sign in to comment.