Run Python tests under a venv.

pull/13171/head
Joshua Haberman 3 years ago
parent c8e4cf7341
commit 206e5b9aad
  1. 2
      .github/workflows/bazel_tests.yml

@ -26,5 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Python venv
run: rm -rf /tmp/venv && python3 -m venv /tmp/venv && export PATH=/tmp/venv/bin:$PATH
- name: Run tests
run: cd ${{ github.workspace }} && CC=${{ matrix.CC }} bazel test --test_output=errors ... ${{ matrix.flags }}

Loading…
Cancel
Save