Skip to content

Commit

Permalink
fix tox installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Feb 12, 2024
1 parent 10d1107 commit ef308f2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ jobs:

- name: Install libsnappy-dev
if: ${{ matrix.tox-environment == 'lint' }}
run: sudo apt-get install -y libsnappy-dev
run: |
sudo apt-get install -y libsnappy-dev
if [[ matrix.os == ubuntu-latest ]]; then
sudo apt-get update && sudo apt-get install -y libsnappy-dev
elif [[ matrix.os == macos-latest ]]; then
brew install snappy
elif [[ matrix.os == windows-latest ]]; then
choco install snappy
fi
- name: Build Wheel and Image Files
uses: ./.github/actions/artifacts_build
Expand Down

0 comments on commit ef308f2

Please sign in to comment.