Skip to content

Commit

Permalink
Make the Bazel CI workflow test different Python versions.
Browse files Browse the repository at this point in the history
Change-Id: I84b078f47e3754c0a10bc58a54cba3f3987bbb80
Reviewed-on: https://code-review.googlesource.com/c/re2/ /63330
Reviewed-by: Alex Chernyakhovsky <[email protected]>
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Jun 13, 2024
1 parent 33eba10 commit 4a8cee3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 11,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
ver: ['3.8', '3.9', '3.10', '3.11', '3.12']
env:
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand All @@ -20,11 21,11 @@ jobs:
bazelisk-version: '1.x'
- uses: actions/[email protected]
with:
python-version: '3.x'
- name: Prepare Python 3.x environment
python-version: ${{ matrix.ver }}
- name: Prepare Python ${{ matrix.ver }} environment
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade mypy
python -m pip install --upgrade absl-py mypy
python python/toolchains/generate.py
shell: bash
- run: .github/bazel.sh
Expand Down

0 comments on commit 4a8cee3

Please sign in to comment.