Skip to content

Commit

Permalink
ci: restrict build jobs to Python 3.11 on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Nov 20, 2022
1 parent b7bbd7b commit 1fe0162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
done
build:
if: ${{ github.event_name != 'pull_request' || matrix.python-version == '3.11' }}
needs: [fmt] # don't wait for clippy as fails rarely and takes longer
name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }} rust-${{ matrix.rust }}
runs-on: ${{ matrix.platform.os }}
Expand Down

0 comments on commit 1fe0162

Please sign in to comment.