Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Pin protobuf #152

Merged
merged 3 commits into from
May 27, 2022
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.ml-deps }}
restore-keys: ${{ runner.os }}-pip-
key: ${{ runner.os }}:ml-deps=[${{ matrix.ml-deps }}]

- name: Install dependencies
run: |
pip install --upgrade pip
pip install -f https://download.pytorch.org/whl/torch_stable.html \
pytest-mock pytest-cov scikit-learn==1.0.2 ${{ matrix.ml-deps }}
pytest-mock pytest-cov scikit-learn==1.0.2 protobuf==3.* ${{ matrix.ml-deps }}
pip install -e .[cloud]

- name: Run mypy
Expand All @@ -57,7 +56,8 @@ jobs:
id: stats
if: ${{ fromJSON(env.run_coverage) }}
run: |
pytest --disable-warnings --cov-report=term-missing --cov=tiledb tests/ | tee coverage.txt
pytest --disable-warnings --cov-report=term-missing --cov=tiledb tests/ > coverage.txt
cat coverage.txt
TEST_COVERAGE="$(grep '^TOTAL' coverage.txt | awk -v N=4 '{print $N}')"
echo "::set-output name=COVERAGE::$TEST_COVERAGE"

Expand Down