Enable create_venv for non-interactive runs #351
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
matrix: | |
folder: [".", "examples/multiple-inputs", "examples/typical"] | |
version: ["7.1.0", "8.0.0rc1"] | |
os: ["ubuntu-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bazel-contrib/setup-bazel@0.9.1 | |
with: | |
repository-cache: true | |
bazelrc: common --announce_rc --color=yes --enable_workspace=false | |
- name: Configure Bazel version | |
working-directory: ${{ matrix.folder }} | |
run: | | |
echo "${{ matrix.version }}" > .bazelversion | |
bazel version | |
- name: Build | |
working-directory: ${{ matrix.folder }} | |
run: bazel build ... | |
- name: Test | |
working-directory: ${{ matrix.folder }} | |
run: bazel test ... |