Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/pants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Download Apache `thrift` binary
run: |
mkdir -p "$HOME/.thrift"
curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o "$HOME/.thrift/thrift"
chmod +x "$HOME/.thrift/thrift"
echo "PATH=${PATH}:${HOME}/.thrift" >> $GITHUB_ENV
- name: Bootstrap Pants
run: |
./pants --version
Expand All @@ -50,9 +56,3 @@ jobs:
- name: Test
run: |
./pants test ::
- name: Upload pants log
uses: actions/upload-artifact@v2
with:
name: pants-log
path: .pants.d/pants.log
if: always() # We want the log even on failures.
Comment thread
tdyas marked this conversation as resolved.
3 changes: 1 addition & 2 deletions src/protobuf/simple_example/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
protobuf_sources(
python_source_root="src/python",
python_source_root="src/python",
)

1 change: 1 addition & 0 deletions src/python/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python_sources()
2 changes: 1 addition & 1 deletion src/thrift/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
thrift_sources(
python_source_root="src/python",
python_source_root="src/python",
)