Skip to content

Commit

Permalink
[run-slow] Fixing run slow
Browse files Browse the repository at this point in the history
  • Loading branch information
qubvel committed Dec 23, 2024
1 parent e1caeb9 commit 101b487
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # Fetch the latest commit to inspect its message

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -53,7 +55,7 @@ jobs:
- name: Fetch latest commit message
id: get_commit_message
run: echo "COMMIT_MESSAGE=$(git log -1 --pretty=%B)" >> $GITHUB_ENV
run: echo "COMMIT_MESSAGE=$(git log -2 --pretty=%B)" >> $GITHUB_ENV

- name: Test with PyTest
env:
Expand Down

0 comments on commit 101b487

Please sign in to comment.