Skip to content

Test rules_mayhem Mayhemfiles #192

Test rules_mayhem Mayhemfiles

Test rules_mayhem Mayhemfiles #192

Workflow file for this run

name: Test rules_mayhem Mayhemfiles
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
tests:
name: Run tests
runs-on: ubuntu
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Bazel
uses: bazel-contrib/[email protected]
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Store build cache per workflow.
disk-cache: ${{ github.workflow }}
# Share repository cache between workflows.
repository-cache: true
- name: Run tests
run: |
bazel test --test_output=all //examples:validate_factor
bazel test --test_output=all //examples:validate_base64
bazel test --test_output=all //examples:validate_lighttpd
bazel test --test_output=all //examples:validate_mayhemit