Skip to content

Drop system python requirement #321

Drop system python requirement

Drop system python requirement #321

Workflow file for this run

name: CI
on:
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
test:
name: Test rules_ophiuchus
runs-on: ${{ matrix.os }}
timeout-minutes: 40
strategy:
matrix:
include: # TODO: windows-latest
- os: ubuntu-latest
cache: ~/.cache/bazel
- os: macos-latest
cache: /private/var/tmp/_bazel_runner
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Remove system python
if: matrix.os == 'ubuntu-latest'
run: sudo rm -rf $(which python3)
- name: Setup bazelisk
uses: bazelbuild/setup-bazelisk@v2
- name: Show info
id: info
run: |
uname -a
bazel info
shell: bash
- name: Mount bazel cache
uses: actions/cache@v3.3.1
with:
path: ${{ matrix.cache }}
key: bazel-${{ matrix.os }}
restore-keys: bazel-${{ matrix.os }}
- name: Run tests
id: tests
run: bazel test ... --spawn_strategy=standalone --verbose_failures
shell: bash