Skip to content

Commit

Permalink
Pivot out of the repository so that we test the wheel.
Browse files Browse the repository at this point in the history
Change-Id: Ie291a4c1f1e847d9ffb86112df027cc6bc2100c2
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63290
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
  • Loading branch information
junyer committed Jun 10, 2024
1 parent 10f876d commit 33eba10
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ jobs:
- name: Test wheel
run: |
"${PYTHON}" -m pip install google_re2-*.whl
# Pivot out of the repository so that we test the wheel.
DIR=$(mktemp -d)
cp re2_test.py "${DIR}"
cd "${DIR}"
"${PYTHON}" re2_test.py
shell: bash
working-directory: python
Expand Down Expand Up @@ -122,6 +126,10 @@ jobs:
name: Test wheel
run: |
python -m pip install google_re2-*.whl
# Pivot out of the repository so that we test the wheel.
DIR=$(mktemp -d)
cp re2_test.py "${DIR}"
cd "${DIR}"
python re2_test.py
shell: bash
working-directory: python
Expand Down Expand Up @@ -179,6 +187,10 @@ jobs:
- name: Test wheel
run: |
python -m pip install google_re2-*.whl
# Pivot out of the repository so that we test the wheel.
DIR=$(mktemp -d)
cp re2_test.py "${DIR}"
cd "${DIR}"
python re2_test.py
shell: bash
working-directory: python
Expand Down

0 comments on commit 33eba10

Please sign in to comment.