Skip to content

Commit

Permalink
Skip tests on BuildJet runners by default (#86)
Browse files Browse the repository at this point in the history
🛬 Skip BuildJet runners without commit message
  • Loading branch information
agriyakhetarpal authored Apr 23, 2024
1 parent 30a90ea commit 0a5cc66
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
- name: Run style checks
run: pipx run nox -s lint

check_commit_message:
needs: [style]
name: Check for skips
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[buildjet]')
steps:
- name: Run BuildJet runners
run: echo "Running BuildJet runners"

build_wheels:
needs: [style]
name: ${{ matrix.runs-on }}-python-${{ matrix.python-version }}
Expand Down Expand Up @@ -79,7 +88,7 @@ jobs:
run: nox -s venv

build_wheels_linux_aarch64:
needs: [style]
needs: [check_commit_message]
name: linux-aarch64-buildjet-python-3.12
runs-on: buildjet-2vcpu-ubuntu-2204-arm
steps:
Expand Down

0 comments on commit 0a5cc66

Please sign in to comment.