File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - ' docs/**'
1010 workflow_dispatch :
1111
12+ env :
13+ USE_BAZEL_VERSION : 7.7.0
14+
1215jobs :
1316 unit-tests :
1417 if : github.actor != 'copybara-service[bot]'
3134
3235 - name : Install dependencies
3336 run : |
34- pip install .[test]
37+ sudo apt update
38+ sudo apt install -y protobuf-compiler
39+ pip install --upgrade pip setuptools wheel numpy pyarrow
40+ pip install --no-build-isolation .[test]
3541
3642 - name : Run unit tests
3743 shell : bash
Original file line number Diff line number Diff line change 66 release :
77 types : [published]
88
9+ env :
10+ USE_BAZEL_VERSION : 7.7.0
11+
912jobs :
1013 build-package :
1114 name : Build sdist
@@ -20,11 +23,15 @@ jobs:
2023 python-version : ' 3.10'
2124
2225 - name : Install python dependencies
23- run : pip install --upgrade pip build twine
26+ run : |
27+ sudo apt update
28+ sudo apt install -y protobuf-compiler
29+ pip install --upgrade pip setuptools wheel numpy pyarrow build twine
30+ pip install --no-build-isolation .
2431
2532 - name : Build sdist and wheel
2633 run : |
27- python -m build --sdist --wheel -o wheelhouse
34+ python -m build --sdist --wheel --no-isolation - o wheelhouse
2835
2936 - name : List and check sdist
3037 run : |
You can’t perform that action at this time.
0 commit comments